pub struct TelemetryUsageExtractionInput {
pub event: AgentEvent,
pub event_cursor: Option<EventCursor>,
pub provider_id: Option<String>,
pub model_id: Option<String>,
pub usage: UsageUnits,
}Expand description
Holds telemetry usage extraction input application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§event: AgentEventEvent used by this record or request.
event_cursor: Option<EventCursor>Cursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
provider_id: Option<String>Stable provider id used for typed lineage, lookup, or dedupe.
model_id: Option<String>Stable model id used for typed lineage, lookup, or dedupe.
usage: UsageUnitsUsage used by this record or request.
Auto Trait Implementations§
impl Freeze for TelemetryUsageExtractionInput
impl RefUnwindSafe for TelemetryUsageExtractionInput
impl Send for TelemetryUsageExtractionInput
impl Sync for TelemetryUsageExtractionInput
impl Unpin for TelemetryUsageExtractionInput
impl UnsafeUnpin for TelemetryUsageExtractionInput
impl UnwindSafe for TelemetryUsageExtractionInput
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