pub struct SlmpLongTimerResult {
pub index: u32,
pub device: String,
pub current_value: u32,
pub contact: bool,
pub coil: bool,
pub status_word: u16,
pub raw_words: Vec<u16>,
}Fields§
§index: u32§device: String§current_value: u32§contact: bool§coil: bool§status_word: u16§raw_words: Vec<u16>Trait Implementations§
Source§impl Clone for SlmpLongTimerResult
impl Clone for SlmpLongTimerResult
Source§fn clone(&self) -> SlmpLongTimerResult
fn clone(&self) -> SlmpLongTimerResult
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 SlmpLongTimerResult
impl Debug for SlmpLongTimerResult
Source§impl<'de> Deserialize<'de> for SlmpLongTimerResult
impl<'de> Deserialize<'de> for SlmpLongTimerResult
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 SlmpLongTimerResult
impl PartialEq for SlmpLongTimerResult
Source§impl Serialize for SlmpLongTimerResult
impl Serialize for SlmpLongTimerResult
impl Eq for SlmpLongTimerResult
impl StructuralPartialEq for SlmpLongTimerResult
Auto Trait Implementations§
impl Freeze for SlmpLongTimerResult
impl RefUnwindSafe for SlmpLongTimerResult
impl Send for SlmpLongTimerResult
impl Sync for SlmpLongTimerResult
impl Unpin for SlmpLongTimerResult
impl UnsafeUnpin for SlmpLongTimerResult
impl UnwindSafe for SlmpLongTimerResult
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