Struct tinkerforge::real_time_clock_v2_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
sourceimpl FromByteSlice for Alarm
impl FromByteSlice for Alarm
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> Alarm
fn from_le_bytes(bytes: &[u8]) -> Alarm
Deserialize the implementing type from a byte slice.
impl Copy for Alarm
impl Eq for Alarm
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more