Struct tinkerforge::real_time_clock_bricklet::Alarm
source · pub struct Alarm {
pub month: i8,
pub day: i8,
pub hour: i8,
pub minute: i8,
pub second: i8,
pub weekday: i8,
pub interval: i32,
}
Fields§
§month: i8
§day: i8
§hour: i8
§minute: i8
§second: i8
§weekday: i8
§interval: i32
Trait Implementations§
source§impl FromByteSlice for Alarm
impl FromByteSlice for Alarm
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]) -> Alarm
fn from_le_byte_slice(bytes: &[u8]) -> Alarm
Deserialize the implementing type from a byte slice.
source§impl PartialEq for Alarm
impl PartialEq for Alarm
impl Copy for Alarm
impl Eq for Alarm
impl StructuralPartialEq for Alarm
Auto Trait Implementations§
impl RefUnwindSafe for Alarm
impl Send for Alarm
impl Sync for Alarm
impl Unpin for Alarm
impl UnwindSafe for Alarm
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