pub struct ProviderAccountUsagePoint {
pub id: Uuid,
pub account_id: Uuid,
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§
§id: UuidObservation ID.
account_id: UuidAccount the observation belongs to.
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 ProviderAccountUsagePoint
impl Clone for ProviderAccountUsagePoint
Source§impl Debug for ProviderAccountUsagePoint
impl Debug for ProviderAccountUsagePoint
Source§impl<'de> Deserialize<'de> for ProviderAccountUsagePoint
impl<'de> Deserialize<'de> for ProviderAccountUsagePoint
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
impl StructuralPartialEq for ProviderAccountUsagePoint
Auto Trait Implementations§
impl Freeze for ProviderAccountUsagePoint
impl RefUnwindSafe for ProviderAccountUsagePoint
impl Send for ProviderAccountUsagePoint
impl Sync for ProviderAccountUsagePoint
impl Unpin for ProviderAccountUsagePoint
impl UnsafeUnpin for ProviderAccountUsagePoint
impl UnwindSafe for ProviderAccountUsagePoint
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