Struct minidump_writer::minidump_format::format::SYSTEMTIME
source · [−]pub struct SYSTEMTIME {
pub year: u16,
pub month: u16,
pub day_of_week: u16,
pub day: u16,
pub hour: u16,
pub minute: u16,
pub second: u16,
pub milliseconds: u16,
}
Expand description
A date and time
This struct matches the Microsoft struct of the same name.
Fields
year: u16
month: u16
day_of_week: u16
day: u16
hour: u16
minute: u16
second: u16
milliseconds: u16
Trait Implementations
sourceimpl Clone for SYSTEMTIME
impl Clone for SYSTEMTIME
sourcefn clone(&self) -> SYSTEMTIME
fn clone(&self) -> SYSTEMTIME
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 more
sourceimpl Debug for SYSTEMTIME
impl Debug for SYSTEMTIME
sourceimpl Default for SYSTEMTIME
impl Default for SYSTEMTIME
sourcefn default() -> SYSTEMTIME
fn default() -> SYSTEMTIME
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SYSTEMTIME> for SYSTEMTIME
impl PartialEq<SYSTEMTIME> for SYSTEMTIME
sourcefn eq(&self, other: &SYSTEMTIME) -> bool
fn eq(&self, other: &SYSTEMTIME) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SYSTEMTIME) -> bool
fn ne(&self, other: &SYSTEMTIME) -> bool
This method tests for !=
.
sourceimpl<'a> TryFromCtx<'a, Endian, [u8]> for SYSTEMTIME where
SYSTEMTIME: 'a,
impl<'a> TryFromCtx<'a, Endian, [u8]> for SYSTEMTIME where
SYSTEMTIME: 'a,
type Error = Error
fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(SYSTEMTIME, usize), <SYSTEMTIME as TryFromCtx<'a, Endian, [u8]>>::Error>
sourceimpl<'a> TryIntoCtx<Endian, [u8]> for &'a SYSTEMTIME
impl<'a> TryIntoCtx<Endian, [u8]> for &'a SYSTEMTIME
type Error = Error
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<usize, <&'a SYSTEMTIME as TryIntoCtx<Endian, [u8]>>::Error>
sourceimpl TryIntoCtx<Endian, [u8]> for SYSTEMTIME
impl TryIntoCtx<Endian, [u8]> for SYSTEMTIME
type Error = Error
fn try_into_ctx(
self,
dst: &mut [u8],
ctx: Endian
) -> Result<usize, <SYSTEMTIME as TryIntoCtx<Endian, [u8]>>::Error>
impl Eq for SYSTEMTIME
impl StructuralEq for SYSTEMTIME
impl StructuralPartialEq for SYSTEMTIME
Auto Trait Implementations
impl RefUnwindSafe for SYSTEMTIME
impl Send for SYSTEMTIME
impl Sync for SYSTEMTIME
impl Unpin for SYSTEMTIME
impl UnwindSafe for SYSTEMTIME
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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