pub struct ChannelInput {
pub name_id: u8,
pub source_id: u32,
pub value: f64,
}Expand description
Input for one channel in a multi-channel encode_multi_adaptive() call
Fields§
§name_id: u8Channel identifier (included in the wire frame as 1 byte)
source_id: u32Source identifier for per-channel context isolation
value: f64The measured value
Trait Implementations§
Source§impl Clone for ChannelInput
impl Clone for ChannelInput
Source§fn clone(&self) -> ChannelInput
fn clone(&self) -> ChannelInput
Returns a duplicate of the value. Read more
1.0.0 · 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 ChannelInput
impl Debug for ChannelInput
Source§impl PartialEq for ChannelInput
impl PartialEq for ChannelInput
impl StructuralPartialEq for ChannelInput
Auto Trait Implementations§
impl Freeze for ChannelInput
impl RefUnwindSafe for ChannelInput
impl Send for ChannelInput
impl Sync for ChannelInput
impl Unpin for ChannelInput
impl UnsafeUnpin for ChannelInput
impl UnwindSafe for ChannelInput
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