Struct ic_utils::interfaces::management_canister::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
Statistics relating to query calls.
Fields§
§num_calls_total: Nat
The total number of query calls this canister has performed.
num_instructions_total: Nat
The total number of instructions this canister has executed during query calls.
request_payload_bytes_total: Nat
The total number of bytes in request payloads sent to this canister’s query calls.
response_payload_bytes_total: Nat
The total number of bytes in response payloads returned from this canister’s query calls.
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
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