pub struct Filetime {
pub timestamp: u64,
}Expand description
Windows FILETIME timestamp.
Fields§
§timestamp: u64Number of 100th nanoseconds since January 1, 1601 (UTC).
Implementations§
Source§impl Filetime
impl Filetime
Sourcepub fn from_bytes(data: &[u8]) -> Self
pub fn from_bytes(data: &[u8]) -> Self
Reads a timestamp from a byte sequence.
A FILETIME timestamp is stored in a structure that consists of 2 x 32-bit integers, both presumed to be unsigned.
Sourcepub fn to_iso8601_string(&self) -> String
pub fn to_iso8601_string(&self) -> String
Retrieves an ISO 8601 string representation of the timestamp.
Trait Implementations§
impl StructuralPartialEq for Filetime
Auto Trait Implementations§
impl Freeze for Filetime
impl RefUnwindSafe for Filetime
impl Send for Filetime
impl Sync for Filetime
impl Unpin for Filetime
impl UnsafeUnpin for Filetime
impl UnwindSafe for Filetime
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