pub struct SavingsObservationV1 {
pub observation_id: String,
pub provider_id: String,
pub model_id: String,
pub original_usage: UsageBreakdownV1,
pub actual_usage: UsageBreakdownV1,
pub local_cost_estimate: MoneyV1,
pub evidence_refs: Vec<EvidenceRefV1>,
pub observed_at: String,
pub runtime_version: String,
pub sequence_number: u64,
}Expand description
What OSS emits. NOT VerifiedSavings (that’s proprietary).
Fields§
§observation_id: String§provider_id: String§model_id: String§original_usage: UsageBreakdownV1§actual_usage: UsageBreakdownV1§local_cost_estimate: MoneyV1§evidence_refs: Vec<EvidenceRefV1>§observed_at: String§runtime_version: String§sequence_number: u64Trait Implementations§
Source§impl Clone for SavingsObservationV1
impl Clone for SavingsObservationV1
Source§fn clone(&self) -> SavingsObservationV1
fn clone(&self) -> SavingsObservationV1
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 SavingsObservationV1
impl Debug for SavingsObservationV1
Source§impl<'de> Deserialize<'de> for SavingsObservationV1
impl<'de> Deserialize<'de> for SavingsObservationV1
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 SavingsObservationV1
impl PartialEq for SavingsObservationV1
Source§impl Serialize for SavingsObservationV1
impl Serialize for SavingsObservationV1
impl StructuralPartialEq for SavingsObservationV1
Auto Trait Implementations§
impl Freeze for SavingsObservationV1
impl RefUnwindSafe for SavingsObservationV1
impl Send for SavingsObservationV1
impl Sync for SavingsObservationV1
impl Unpin for SavingsObservationV1
impl UnsafeUnpin for SavingsObservationV1
impl UnwindSafe for SavingsObservationV1
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