pub struct EndpointUsage {
pub name: String,
pub chain: Option<String>,
pub network: Option<String>,
pub status: Option<String>,
pub credits_used: i64,
pub label: Option<String>,
pub methods_breakdown: Vec<MethodUsage>,
pub requests: Option<i64>,
}Expand description
Per-endpoint usage row.
Fields§
§name: StringEndpoint subdomain.
chain: Option<String>Blockchain the endpoint serves.
network: Option<String>Network within the chain.
status: Option<String>Operational status during the window.
credits_used: i64Total credits consumed by this endpoint.
label: Option<String>Human-readable label.
methods_breakdown: Vec<MethodUsage>Per-method credit breakdown.
requests: Option<i64>Request count during the window.
Trait Implementations§
Source§impl Clone for EndpointUsage
impl Clone for EndpointUsage
Source§fn clone(&self) -> EndpointUsage
fn clone(&self) -> EndpointUsage
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 EndpointUsage
impl Debug for EndpointUsage
Source§impl<'de> Deserialize<'de> for EndpointUsage
impl<'de> Deserialize<'de> for EndpointUsage
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 EndpointUsage
impl RefUnwindSafe for EndpointUsage
impl Send for EndpointUsage
impl Sync for EndpointUsage
impl Unpin for EndpointUsage
impl UnsafeUnpin for EndpointUsage
impl UnwindSafe for EndpointUsage
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