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
Fields§
§num_calls_total: NatTotal number of query calls.
num_instructions_total: NatTotal number of instructions executed by query calls.
request_payload_bytes_total: NatTotal number of payload bytes use for query call requests.
response_payload_bytes_total: NatTotal 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 duplicate 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<QueryStats, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<QueryStats, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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