Channel#

pub struct Channel#

A time-series channel on a data source (dataset, video, connection, etc.).

Carries the channel’s identity and its editable metadata (description + unit) plus the channel data type.

Implementations#

impl Channel
pub fn data_source_rid(&self) -> &str#

RID of the data source (dataset, video, connection, etc.) that owns this channel.

pub fn name(&self) -> &str#
pub fn description(&self) -> Option<&str>#
pub fn unit(&self) -> Option<&str>#

Unit symbol (e.g. "m/s") if set.

pub fn data_type(&self) -> &ChannelDataType#

Trait implementations#

Derived: Debug, Clone

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe