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