#[non_exhaustive]pub struct WorkspaceUsageCount {
pub users: i64,
pub threads: i64,
pub turns: i64,
pub credits: Number,
pub cost_usd: Option<String>,
pub on_demand_credits: Option<Number>,
pub uncached_text_input_tokens: Option<i64>,
pub cached_text_input_tokens: Option<i64>,
pub text_output_tokens: Option<i64>,
pub text_total_tokens: Option<i64>,
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.users: i64§threads: i64§turns: i64§credits: Number§cost_usd: Option<String>§on_demand_credits: Option<Number>§uncached_text_input_tokens: Option<i64>§cached_text_input_tokens: Option<i64>§text_output_tokens: Option<i64>§text_total_tokens: Option<i64>§rest: RestImplementations§
Trait Implementations§
Source§impl Clone for WorkspaceUsageCount
impl Clone for WorkspaceUsageCount
Source§impl Debug for WorkspaceUsageCount
impl Debug for WorkspaceUsageCount
Source§impl DeclaredFields for WorkspaceUsageCount
impl DeclaredFields for WorkspaceUsageCount
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for WorkspaceUsageCount
impl<'de> Deserialize<'de> for WorkspaceUsageCount
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 WorkspaceUsageCount
impl PartialEq for WorkspaceUsageCount
Source§impl Serialize for WorkspaceUsageCount
impl Serialize for WorkspaceUsageCount
impl StructuralPartialEq for WorkspaceUsageCount
Auto Trait Implementations§
impl Freeze for WorkspaceUsageCount
impl RefUnwindSafe for WorkspaceUsageCount
impl Send for WorkspaceUsageCount
impl Sync for WorkspaceUsageCount
impl Unpin for WorkspaceUsageCount
impl UnsafeUnpin for WorkspaceUsageCount
impl UnwindSafe for WorkspaceUsageCount
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