#[non_exhaustive]pub struct DailyWorkspaceUsageCount {
pub date: String,
pub totals: WorkspaceUsageCount,
pub clients: Vec<ClientWorkspaceUsageCount>,
pub models: Option<Vec<ModelUsage>>,
pub groups: Option<Vec<WorkspaceUsageGroup>>,
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.date: String§totals: WorkspaceUsageCount§clients: Vec<ClientWorkspaceUsageCount>§models: Option<Vec<ModelUsage>>§groups: Option<Vec<WorkspaceUsageGroup>>§rest: RestImplementations§
Source§impl DailyWorkspaceUsageCount
impl DailyWorkspaceUsageCount
Sourcepub fn builder(
date: String,
totals: WorkspaceUsageCount,
clients: Vec<ClientWorkspaceUsageCount>,
) -> DailyWorkspaceUsageCountBuilder
pub fn builder( date: String, totals: WorkspaceUsageCount, clients: Vec<ClientWorkspaceUsageCount>, ) -> DailyWorkspaceUsageCountBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for DailyWorkspaceUsageCount
impl Clone for DailyWorkspaceUsageCount
Source§impl Debug for DailyWorkspaceUsageCount
impl Debug for DailyWorkspaceUsageCount
Source§impl DeclaredFields for DailyWorkspaceUsageCount
impl DeclaredFields for DailyWorkspaceUsageCount
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for DailyWorkspaceUsageCount
impl<'de> Deserialize<'de> for DailyWorkspaceUsageCount
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 DailyWorkspaceUsageCount
impl PartialEq for DailyWorkspaceUsageCount
Source§impl Serialize for DailyWorkspaceUsageCount
impl Serialize for DailyWorkspaceUsageCount
impl StructuralPartialEq for DailyWorkspaceUsageCount
Auto Trait Implementations§
impl Freeze for DailyWorkspaceUsageCount
impl RefUnwindSafe for DailyWorkspaceUsageCount
impl Send for DailyWorkspaceUsageCount
impl Sync for DailyWorkspaceUsageCount
impl Unpin for DailyWorkspaceUsageCount
impl UnsafeUnpin for DailyWorkspaceUsageCount
impl UnwindSafe for DailyWorkspaceUsageCount
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