pub struct EnhancedPid {
pub service_id: u8,
pub did: u16,
pub name: String,
pub unit: String,
pub formula: Formula,
pub bytes: u8,
pub module: String,
pub value_type: ValueType,
pub confidence: Confidence,
pub command_suffix: Option<Vec<u8>>,
}Expand description
Enhanced manufacturer-specific PID (Mode 21/22).
Fields§
§service_id: u8§did: u16§name: String§unit: String§formula: Formula§bytes: u8§module: String§value_type: ValueType§confidence: Confidence§command_suffix: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for EnhancedPid
impl Clone for EnhancedPid
Source§fn clone(&self) -> EnhancedPid
fn clone(&self) -> EnhancedPid
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 EnhancedPid
impl Debug for EnhancedPid
Source§impl<'de> Deserialize<'de> for EnhancedPid
impl<'de> Deserialize<'de> for EnhancedPid
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 EnhancedPid
impl RefUnwindSafe for EnhancedPid
impl Send for EnhancedPid
impl Sync for EnhancedPid
impl Unpin for EnhancedPid
impl UnsafeUnpin for EnhancedPid
impl UnwindSafe for EnhancedPid
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