Struct tinkerforge::red_brick::ProcessStateChangedEvent
source · pub struct ProcessStateChangedEvent {
pub process_id: u16,
pub state: u8,
pub timestamp: u64,
pub exit_code: u8,
}
Fields§
§process_id: u16
§state: u8
§timestamp: u64
§exit_code: u8
Trait Implementations§
source§impl Clone for ProcessStateChangedEvent
impl Clone for ProcessStateChangedEvent
source§fn clone(&self) -> ProcessStateChangedEvent
fn clone(&self) -> ProcessStateChangedEvent
Returns a copy 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 ProcessStateChangedEvent
impl Debug for ProcessStateChangedEvent
source§impl Default for ProcessStateChangedEvent
impl Default for ProcessStateChangedEvent
source§fn default() -> ProcessStateChangedEvent
fn default() -> ProcessStateChangedEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for ProcessStateChangedEvent
impl FromByteSlice for ProcessStateChangedEvent
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> ProcessStateChangedEvent
fn from_le_byte_slice(bytes: &[u8]) -> ProcessStateChangedEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for ProcessStateChangedEvent
impl Hash for ProcessStateChangedEvent
source§impl PartialEq for ProcessStateChangedEvent
impl PartialEq for ProcessStateChangedEvent
source§fn eq(&self, other: &ProcessStateChangedEvent) -> bool
fn eq(&self, other: &ProcessStateChangedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessStateChangedEvent
impl Eq for ProcessStateChangedEvent
impl StructuralPartialEq for ProcessStateChangedEvent
Auto Trait Implementations§
impl RefUnwindSafe for ProcessStateChangedEvent
impl Send for ProcessStateChangedEvent
impl Sync for ProcessStateChangedEvent
impl Unpin for ProcessStateChangedEvent
impl UnwindSafe for ProcessStateChangedEvent
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