pub struct MonthlyApiKeyMethodUsage {
pub count: f64,
pub credit_cost: f64,
pub credits: f64,
pub method: String,
pub updated_at: Option<String>,
}Expand description
Usage for one method within a chain.
Fields§
§count: f64Request count.
credit_cost: f64Credits charged per request.
credits: f64Total credits charged.
method: StringWire-compatible RPC method.
updated_at: Option<String>Last aggregation update.
Trait Implementations§
Source§impl Clone for MonthlyApiKeyMethodUsage
impl Clone for MonthlyApiKeyMethodUsage
Source§impl Debug for MonthlyApiKeyMethodUsage
impl Debug for MonthlyApiKeyMethodUsage
Source§impl<'de> Deserialize<'de> for MonthlyApiKeyMethodUsage
impl<'de> Deserialize<'de> for MonthlyApiKeyMethodUsage
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 PartialEq for MonthlyApiKeyMethodUsage
impl PartialEq for MonthlyApiKeyMethodUsage
Source§impl Serialize for MonthlyApiKeyMethodUsage
impl Serialize for MonthlyApiKeyMethodUsage
impl StructuralPartialEq for MonthlyApiKeyMethodUsage
Auto Trait Implementations§
impl Freeze for MonthlyApiKeyMethodUsage
impl RefUnwindSafe for MonthlyApiKeyMethodUsage
impl Send for MonthlyApiKeyMethodUsage
impl Sync for MonthlyApiKeyMethodUsage
impl Unpin for MonthlyApiKeyMethodUsage
impl UnsafeUnpin for MonthlyApiKeyMethodUsage
impl UnwindSafe for MonthlyApiKeyMethodUsage
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