Struct ic_cdk::api::management_canister::main::QueryStats
source · 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,
}
Expand description
Query statistics, returned by canister_status.
Fields§
§num_calls_total: Nat
Total number of query calls.
num_instructions_total: Nat
Total number of instructions executed by query calls.
request_payload_bytes_total: Nat
Total number of payload bytes use for query call requests.
response_payload_bytes_total: Nat
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)