pub struct UsagePoint {
pub timestamp: String,
pub value: i64,
}Expand description
One time-bucket of a usage metric.
Fields§
§timestamp: StringStart of the bucket (RFC 3339).
value: i64Usage value in the bucket.
Trait Implementations§
Source§impl Clone for UsagePoint
impl Clone for UsagePoint
Source§fn clone(&self) -> UsagePoint
fn clone(&self) -> UsagePoint
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 UsagePoint
impl Debug for UsagePoint
Source§impl<'de> Deserialize<'de> for UsagePoint
impl<'de> Deserialize<'de> for UsagePoint
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 UsagePoint
impl RefUnwindSafe for UsagePoint
impl Send for UsagePoint
impl Sync for UsagePoint
impl Unpin for UsagePoint
impl UnsafeUnpin for UsagePoint
impl UnwindSafe for UsagePoint
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