Struct tinkerforge::real_time_clock_bricklet::AlarmEvent
source · pub struct AlarmEvent {
pub year: u16,
pub month: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub second: u8,
pub centisecond: u8,
pub weekday: u8,
pub timestamp: i64,
}
Fields
year: u16
month: u8
day: u8
hour: u8
minute: u8
second: u8
centisecond: u8
weekday: u8
timestamp: i64
Trait Implementations
sourceimpl Clone for AlarmEvent
impl Clone for AlarmEvent
sourcefn clone(&self) -> AlarmEvent
fn clone(&self) -> AlarmEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AlarmEvent
impl Debug for AlarmEvent
sourceimpl Default for AlarmEvent
impl Default for AlarmEvent
sourcefn default() -> AlarmEvent
fn default() -> AlarmEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for AlarmEvent
impl FromByteSlice for AlarmEvent
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]) -> AlarmEvent
fn from_le_bytes(bytes: &[u8]) -> AlarmEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for AlarmEvent
impl Hash for AlarmEvent
sourceimpl PartialEq<AlarmEvent> for AlarmEvent
impl PartialEq<AlarmEvent> for AlarmEvent
sourcefn eq(&self, other: &AlarmEvent) -> bool
fn eq(&self, other: &AlarmEvent) -> bool
impl Copy for AlarmEvent
impl Eq for AlarmEvent
impl StructuralEq for AlarmEvent
impl StructuralPartialEq for AlarmEvent
Auto Trait Implementations
impl RefUnwindSafe for AlarmEvent
impl Send for AlarmEvent
impl Sync for AlarmEvent
impl Unpin for AlarmEvent
impl UnwindSafe for AlarmEvent
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