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
sourceimpl Clone for DateTimeEvent
impl Clone for DateTimeEvent
sourcefn clone(&self) -> DateTimeEvent
fn clone(&self) -> DateTimeEvent
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 DateTimeEvent
impl Debug for DateTimeEvent
sourceimpl Default for DateTimeEvent
impl Default for DateTimeEvent
sourcefn default() -> DateTimeEvent
fn default() -> DateTimeEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for DateTimeEvent
impl FromByteSlice for DateTimeEvent
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]) -> DateTimeEvent
fn from_le_bytes(bytes: &[u8]) -> DateTimeEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for DateTimeEvent
impl Hash for DateTimeEvent
sourceimpl PartialEq<DateTimeEvent> for DateTimeEvent
impl PartialEq<DateTimeEvent> for DateTimeEvent
sourcefn eq(&self, other: &DateTimeEvent) -> bool
fn eq(&self, other: &DateTimeEvent) -> bool
impl Copy for DateTimeEvent
impl Eq for DateTimeEvent
impl StructuralEq 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
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