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