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