Skip to content

Commit

Permalink
Members need to be pub, otherwise the struct is not usable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dfinity-skaestle committed Jan 10, 2024
1 parent fbacb22 commit 466af43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ic-cdk/src/api/management_canister/main/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ pub struct DefiniteCanisterSettings {
CandidType, Clone, Debug, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize,
)]
pub struct QueryStats {
num_calls_total: candid::Nat,
num_instructions_total: candid::Nat,
request_payload_bytes_total: candid::Nat,
response_payload_bytes_total: candid::Nat,
pub num_calls_total: candid::Nat,
pub num_instructions_total: candid::Nat,
pub request_payload_bytes_total: candid::Nat,
pub response_payload_bytes_total: candid::Nat,
}

/// Argument type of [canister_status](super::canister_status).
Expand Down

0 comments on commit 466af43

Please sign in to comment.