pub struct CostTelemetryRecord {
pub cost_record_id: TelemetryCostRecordId,
pub units: CostUnits,
pub correction_ref: Option<TelemetryCostRecordId>,
}Expand description
Carries the cost telemetry record record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Fields§
§cost_record_id: TelemetryCostRecordIdStable cost record id used for typed lineage, lookup, or dedupe.
units: CostUnitsUnits used by this record or request.
correction_ref: Option<TelemetryCostRecordId>Typed correction ref reference. Resolving or executing it is a separate policy-gated step.
Trait Implementations§
Source§impl Clone for CostTelemetryRecord
impl Clone for CostTelemetryRecord
Source§fn clone(&self) -> CostTelemetryRecord
fn clone(&self) -> CostTelemetryRecord
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 CostTelemetryRecord
impl Debug for CostTelemetryRecord
Source§impl<'de> Deserialize<'de> for CostTelemetryRecord
impl<'de> Deserialize<'de> for CostTelemetryRecord
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 CostTelemetryRecord
impl PartialEq for CostTelemetryRecord
Source§fn eq(&self, other: &CostTelemetryRecord) -> bool
fn eq(&self, other: &CostTelemetryRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CostTelemetryRecord
impl Serialize for CostTelemetryRecord
impl Eq for CostTelemetryRecord
impl StructuralPartialEq for CostTelemetryRecord
Auto Trait Implementations§
impl Freeze for CostTelemetryRecord
impl RefUnwindSafe for CostTelemetryRecord
impl Send for CostTelemetryRecord
impl Sync for CostTelemetryRecord
impl Unpin for CostTelemetryRecord
impl UnsafeUnpin for CostTelemetryRecord
impl UnwindSafe for CostTelemetryRecord
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