pub struct SignalType {
pub name: String,
pub signal_size: u64,
pub byte_order: ByteOrder,
pub value_type: ValueType,
pub factor: f64,
pub offset: f64,
pub min: f64,
pub max: f64,
pub unit: String,
pub default_value: f64,
pub value_table: String,
}Fields§
§name: String§signal_size: u64§byte_order: ByteOrder§value_type: ValueType§factor: f64§offset: f64§min: f64§max: f64§unit: String§default_value: f64§value_table: StringTrait Implementations§
Source§impl Clone for SignalType
impl Clone for SignalType
Source§fn clone(&self) -> SignalType
fn clone(&self) -> SignalType
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 SignalType
impl Debug for SignalType
Source§impl<'de> Deserialize<'de> for SignalType
impl<'de> Deserialize<'de> for SignalType
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 SignalType
impl PartialEq for SignalType
Source§impl Serialize for SignalType
impl Serialize for SignalType
impl StructuralPartialEq for SignalType
Auto Trait Implementations§
impl Freeze for SignalType
impl RefUnwindSafe for SignalType
impl Send for SignalType
impl Sync for SignalType
impl Unpin for SignalType
impl UnwindSafe for SignalType
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