pub struct SingleTimestampStreamData {
pub stream_id: String,
pub timestamp: u64,
pub source: Option<String>,
pub value: Value,
pub channel_name: Option<String>,
pub channel_unit: Option<String>,
pub multi_values: Vec<Value>,
pub channel_names: Vec<String>,
pub channel_units: HashMap<String, String>,
}Fields§
§stream_id: String§timestamp: u64§source: Option<String>Identifies the origin of this stream for metrics purposes. When present,
stream ingress rollups are tracked for this source via
connect_metrics::ConnectMetrics::track_stream_ingress_rollup. When
absent, rollups are tracked under the "unknown" source.
value: Value§channel_name: Option<String>§channel_unit: Option<String>§multi_values: Vec<Value>§channel_names: Vec<String>§channel_units: HashMap<String, String>Trait Implementations§
Source§impl Clone for SingleTimestampStreamData
impl Clone for SingleTimestampStreamData
Source§fn clone(&self) -> SingleTimestampStreamData
fn clone(&self) -> SingleTimestampStreamData
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 SingleTimestampStreamData
impl Debug for SingleTimestampStreamData
Source§impl<'de> Deserialize<'de> for SingleTimestampStreamData
impl<'de> Deserialize<'de> for SingleTimestampStreamData
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
Auto Trait Implementations§
impl Freeze for SingleTimestampStreamData
impl RefUnwindSafe for SingleTimestampStreamData
impl Send for SingleTimestampStreamData
impl Sync for SingleTimestampStreamData
impl Unpin for SingleTimestampStreamData
impl UnsafeUnpin for SingleTimestampStreamData
impl UnwindSafe for SingleTimestampStreamData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more