pub struct QueryStats {
pub num_calls_total: Nat,
pub num_instructions_total: Nat,
pub request_payload_bytes_total: Nat,
pub response_payload_bytes_total: Nat,
}๐Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.Expand description
Query statistics, returned by canister_status.
Fieldsยง
ยงnum_calls_total: Nat๐Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.Total number of query calls.
num_instructions_total: Nat๐Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.Total number of instructions executed by query calls.
request_payload_bytes_total: Nat๐Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.Total number of payload bytes use for query call requests.
response_payload_bytes_total: Nat๐Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.Total number of payload bytes use for query call responses.
Trait Implementationsยง
Sourceยงimpl CandidType for QueryStats
impl CandidType for QueryStats
Sourceยงimpl Clone for QueryStats
impl Clone for QueryStats
Sourceยงfn clone(&self) -> QueryStats
fn clone(&self) -> QueryStats
Returns a copy of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for QueryStats
impl Debug for QueryStats
Sourceยงimpl<'de> Deserialize<'de> for QueryStats
impl<'de> Deserialize<'de> for QueryStats
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Hash for QueryStats
impl Hash for QueryStats
Sourceยงimpl Ord for QueryStats
impl Ord for QueryStats
Sourceยงfn cmp(&self, other: &QueryStats) -> Ordering
fn cmp(&self, other: &QueryStats) -> Ordering
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialEq for QueryStats
impl PartialEq for QueryStats
Sourceยงimpl PartialOrd for QueryStats
impl PartialOrd for QueryStats
Sourceยงimpl Serialize for QueryStats
impl Serialize for QueryStats
impl Eq for QueryStats
impl StructuralPartialEq for QueryStats
Auto Trait Implementationsยง
impl Freeze for QueryStats
impl RefUnwindSafe for QueryStats
impl Send for QueryStats
impl Sync for QueryStats
impl Unpin for QueryStats
impl UnwindSafe for QueryStats
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more