#[non_exhaustive]pub struct DailyProductSurfaceUsage {
pub attribution: Option<Vec<PersonalUsageAttribution>>,
pub date: String,
pub product_surface_usage_values: BTreeMap<String, Number>,
pub premium_usage_values: Option<ProductSurfacePremiumUsageValues>,
pub models: Option<Vec<ModelUsage>>,
pub groups: Option<Vec<ConsumptionUsageGroup>>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.attribution: Option<Vec<PersonalUsageAttribution>>§date: String§product_surface_usage_values: BTreeMap<String, Number>§models: Option<Vec<ModelUsage>>§groups: Option<Vec<ConsumptionUsageGroup>>§rest: RestImplementations§
Trait Implementations§
Source§impl Clone for DailyProductSurfaceUsage
impl Clone for DailyProductSurfaceUsage
Source§impl Debug for DailyProductSurfaceUsage
impl Debug for DailyProductSurfaceUsage
Source§impl DeclaredFields for DailyProductSurfaceUsage
impl DeclaredFields for DailyProductSurfaceUsage
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for DailyProductSurfaceUsage
impl<'de> Deserialize<'de> for DailyProductSurfaceUsage
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 PartialEq for DailyProductSurfaceUsage
impl PartialEq for DailyProductSurfaceUsage
Source§impl Serialize for DailyProductSurfaceUsage
impl Serialize for DailyProductSurfaceUsage
impl StructuralPartialEq for DailyProductSurfaceUsage
Auto Trait Implementations§
impl Freeze for DailyProductSurfaceUsage
impl RefUnwindSafe for DailyProductSurfaceUsage
impl Send for DailyProductSurfaceUsage
impl Sync for DailyProductSurfaceUsage
impl Unpin for DailyProductSurfaceUsage
impl UnsafeUnpin for DailyProductSurfaceUsage
impl UnwindSafe for DailyProductSurfaceUsage
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