pub struct RunOperationUsage {
pub operation_id: String,
pub usage: OperationUsage,
pub pending: bool,
}Expand description
An original operation used in reservation settlement, never a corrected price.
Fields§
§operation_id: StringStable operation identity within the Run, suitable for host deduplication.
usage: OperationUsageOriginal immutable measurement, including provider/model or tool attribution.
pending: boolPreparation has no durable result; the usage is a conservative estimate.
Trait Implementations§
Source§impl Clone for RunOperationUsage
impl Clone for RunOperationUsage
Source§fn clone(&self) -> RunOperationUsage
fn clone(&self) -> RunOperationUsage
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 moreSource§impl Debug for RunOperationUsage
impl Debug for RunOperationUsage
Source§impl<'de> Deserialize<'de> for RunOperationUsage
impl<'de> Deserialize<'de> for RunOperationUsage
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
impl Eq for RunOperationUsage
Source§impl PartialEq for RunOperationUsage
impl PartialEq for RunOperationUsage
Source§impl Serialize for RunOperationUsage
impl Serialize for RunOperationUsage
impl StructuralPartialEq for RunOperationUsage
Auto Trait Implementations§
impl Freeze for RunOperationUsage
impl RefUnwindSafe for RunOperationUsage
impl Send for RunOperationUsage
impl Sync for RunOperationUsage
impl Unpin for RunOperationUsage
impl UnsafeUnpin for RunOperationUsage
impl UnwindSafe for RunOperationUsage
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