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§
source§impl Clone for AlarmEvent
impl Clone for AlarmEvent
source§fn clone(&self) -> AlarmEvent
fn clone(&self) -> AlarmEvent
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 AlarmEvent
impl Debug for AlarmEvent
source§impl Default for AlarmEvent
impl Default for AlarmEvent
source§fn default() -> AlarmEvent
fn default() -> AlarmEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for AlarmEvent
impl FromByteSlice for AlarmEvent
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]) -> AlarmEvent
fn from_le_byte_slice(bytes: &[u8]) -> AlarmEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for AlarmEvent
impl Hash for AlarmEvent
source§impl PartialEq for AlarmEvent
impl PartialEq for AlarmEvent
source§fn eq(&self, other: &AlarmEvent) -> bool
fn eq(&self, other: &AlarmEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AlarmEvent
impl Eq 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§
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