pub enum TelemetrySourceCursor {
Journal(JournalCursor),
Event(EventCursor),
Archive(String),
Usage(TelemetryUsageRecordId),
Cost(TelemetryCostRecordId),
}Expand description
Enumerates the finite telemetry source cursor cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Journal(JournalCursor)
Use this variant when the contract needs to represent journal; selecting it has no side effect by itself.
Event(EventCursor)
Use this variant when the contract needs to represent event; selecting it has no side effect by itself.
Archive(String)
Use this variant when the contract needs to represent archive; selecting it has no side effect by itself.
Usage(TelemetryUsageRecordId)
Use this variant when the contract needs to represent usage; selecting it has no side effect by itself.
Cost(TelemetryCostRecordId)
Use this variant when the contract needs to represent cost; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for TelemetrySourceCursor
impl Clone for TelemetrySourceCursor
Source§fn clone(&self) -> TelemetrySourceCursor
fn clone(&self) -> TelemetrySourceCursor
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 TelemetrySourceCursor
impl Debug for TelemetrySourceCursor
Source§impl<'de> Deserialize<'de> for TelemetrySourceCursor
impl<'de> Deserialize<'de> for TelemetrySourceCursor
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 TelemetrySourceCursor
impl PartialEq for TelemetrySourceCursor
Source§fn eq(&self, other: &TelemetrySourceCursor) -> bool
fn eq(&self, other: &TelemetrySourceCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TelemetrySourceCursor
impl Serialize for TelemetrySourceCursor
impl Eq for TelemetrySourceCursor
impl StructuralPartialEq for TelemetrySourceCursor
Auto Trait Implementations§
impl Freeze for TelemetrySourceCursor
impl RefUnwindSafe for TelemetrySourceCursor
impl Send for TelemetrySourceCursor
impl Sync for TelemetrySourceCursor
impl Unpin for TelemetrySourceCursor
impl UnsafeUnpin for TelemetrySourceCursor
impl UnwindSafe for TelemetrySourceCursor
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