pub struct MethodUsage {
pub method_name: String,
pub credits_used: i64,
pub archive: Option<bool>,
pub network: Option<String>,
pub chain: Option<String>,
}Expand description
Per-method usage row.
Fields§
§method_name: StringRPC method name.
credits_used: i64Credits consumed by this method.
archive: Option<bool>Whether the call required an archival node.
network: Option<String>Network the calls targeted.
chain: Option<String>Chain the calls targeted.
Trait Implementations§
Source§impl Clone for MethodUsage
impl Clone for MethodUsage
Source§fn clone(&self) -> MethodUsage
fn clone(&self) -> MethodUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MethodUsage
impl Debug for MethodUsage
Source§impl<'de> Deserialize<'de> for MethodUsage
impl<'de> Deserialize<'de> for MethodUsage
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 MethodUsage
impl RefUnwindSafe for MethodUsage
impl Send for MethodUsage
impl Sync for MethodUsage
impl Unpin for MethodUsage
impl UnsafeUnpin for MethodUsage
impl UnwindSafe for MethodUsage
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