pub struct TimestampFormat {
pub sec: u32,
pub frac: u32,
}
Fields§
§sec: u32
§frac: u32
Implementations§
Trait Implementations§
Source§impl Clone for TimestampFormat
impl Clone for TimestampFormat
Source§fn clone(&self) -> TimestampFormat
fn clone(&self) -> TimestampFormat
Returns a duplicate 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 TimestampFormat
impl Debug for TimestampFormat
Source§impl Default for TimestampFormat
impl Default for TimestampFormat
Source§fn default() -> TimestampFormat
fn default() -> TimestampFormat
Returns the “default value” for a type. Read more
Source§impl Display for TimestampFormat
impl Display for TimestampFormat
Source§impl From<TimestampFormat> for DateTime<Utc>
impl From<TimestampFormat> for DateTime<Utc>
Source§fn from(t: TimestampFormat) -> Self
fn from(t: TimestampFormat) -> Self
Converts to this type from the input type.
Source§impl From<TimestampFormat> for u64
impl From<TimestampFormat> for u64
Source§fn from(t: TimestampFormat) -> u64
fn from(t: TimestampFormat) -> u64
Converts to this type from the input type.
Source§impl From<u64> for TimestampFormat
impl From<u64> for TimestampFormat
Source§fn from(t: u64) -> TimestampFormat
fn from(t: u64) -> TimestampFormat
Converts to this type from the input type.
Source§impl PartialEq for TimestampFormat
impl PartialEq for TimestampFormat
impl Copy for TimestampFormat
impl StructuralPartialEq for TimestampFormat
Auto Trait Implementations§
impl Freeze for TimestampFormat
impl RefUnwindSafe for TimestampFormat
impl Send for TimestampFormat
impl Sync for TimestampFormat
impl Unpin for TimestampFormat
impl UnwindSafe for TimestampFormat
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