pub struct CodingPlanUsageDetail {
pub model_code: Option<String>,
pub usage: u64,
}Expand description
Per-model usage breakdown returned for some quota windows.
Fields§
§model_code: Option<String>Model identifier reported by the monitor API.
usage: u64Amount attributed to this model.
Trait Implementations§
Source§impl Clone for CodingPlanUsageDetail
impl Clone for CodingPlanUsageDetail
Source§fn clone(&self) -> CodingPlanUsageDetail
fn clone(&self) -> CodingPlanUsageDetail
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 CodingPlanUsageDetail
impl Debug for CodingPlanUsageDetail
Source§impl Default for CodingPlanUsageDetail
impl Default for CodingPlanUsageDetail
Source§fn default() -> CodingPlanUsageDetail
fn default() -> CodingPlanUsageDetail
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodingPlanUsageDetail
impl<'de> Deserialize<'de> for CodingPlanUsageDetail
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 Display for CodingPlanUsageDetail
impl Display for CodingPlanUsageDetail
Auto Trait Implementations§
impl Freeze for CodingPlanUsageDetail
impl RefUnwindSafe for CodingPlanUsageDetail
impl Send for CodingPlanUsageDetail
impl Sync for CodingPlanUsageDetail
impl Unpin for CodingPlanUsageDetail
impl UnsafeUnpin for CodingPlanUsageDetail
impl UnwindSafe for CodingPlanUsageDetail
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP