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
)