pub struct WorkspaceUsageCountBuilder(/* private fields */);Expand description
Builder for WorkspaceUsageCount.
Implementations§
Source§impl WorkspaceUsageCountBuilder
impl WorkspaceUsageCountBuilder
pub fn cost_usd(self, value: impl Into<String>) -> Self
pub fn on_demand_credits(self, value: impl Into<Number>) -> Self
pub fn uncached_text_input_tokens(self, value: impl Into<i64>) -> Self
pub fn cached_text_input_tokens(self, value: impl Into<i64>) -> Self
pub fn text_output_tokens(self, value: impl Into<i64>) -> Self
pub fn text_total_tokens(self, value: impl Into<i64>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> WorkspaceUsageCount
pub fn build(self) -> WorkspaceUsageCount
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for WorkspaceUsageCountBuilder
impl RefUnwindSafe for WorkspaceUsageCountBuilder
impl Send for WorkspaceUsageCountBuilder
impl Sync for WorkspaceUsageCountBuilder
impl Unpin for WorkspaceUsageCountBuilder
impl UnsafeUnpin for WorkspaceUsageCountBuilder
impl UnwindSafe for WorkspaceUsageCountBuilder
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