pub enum ProviderMetering {
Tokens(ProviderTokenUsage),
DurationSeconds {
seconds: f64,
},
Unavailable,
}Expand description
Provider metering that can be reconstructed without changing durable history.
Variants§
Trait Implementations§
Source§impl Clone for ProviderMetering
impl Clone for ProviderMetering
Source§fn clone(&self) -> ProviderMetering
fn clone(&self) -> ProviderMetering
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 moreimpl Copy for ProviderMetering
Source§impl Debug for ProviderMetering
impl Debug for ProviderMetering
Source§impl PartialEq for ProviderMetering
impl PartialEq for ProviderMetering
impl StructuralPartialEq for ProviderMetering
Auto Trait Implementations§
impl Freeze for ProviderMetering
impl RefUnwindSafe for ProviderMetering
impl Send for ProviderMetering
impl Sync for ProviderMetering
impl Unpin for ProviderMetering
impl UnsafeUnpin for ProviderMetering
impl UnwindSafe for ProviderMetering
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