pub struct AccountUsagePointResponse {
pub window: String,
pub utilization: f64,
pub resets_at: Option<DateTime<Utc>>,
pub status: AccountWindowStatus,
pub model_scope: Option<String>,
pub observed_at: DateTime<Utc>,
}Expand description
One historical observation of a window.
Fields§
§window: StringWindow name.
utilization: f64Fraction used.
resets_at: Option<DateTime<Utc>>When the window resets.
status: AccountWindowStatusProvider status.
model_scope: Option<String>Model scope.
observed_at: DateTime<Utc>When the window was observed.
Trait Implementations§
Source§impl Clone for AccountUsagePointResponse
impl Clone for AccountUsagePointResponse
Source§impl Debug for AccountUsagePointResponse
impl Debug for AccountUsagePointResponse
Source§impl<'de> Deserialize<'de> for AccountUsagePointResponse
impl<'de> Deserialize<'de> for AccountUsagePointResponse
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 From<ProviderAccountUsagePoint> for AccountUsagePointResponse
impl From<ProviderAccountUsagePoint> for AccountUsagePointResponse
Source§fn from(p: ProviderAccountUsagePoint) -> Self
fn from(p: ProviderAccountUsagePoint) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccountUsagePointResponse
impl RefUnwindSafe for AccountUsagePointResponse
impl Send for AccountUsagePointResponse
impl Sync for AccountUsagePointResponse
impl Unpin for AccountUsagePointResponse
impl UnsafeUnpin for AccountUsagePointResponse
impl UnwindSafe for AccountUsagePointResponse
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