#[repr(transparent)]pub struct Ts(pub u64);Expand description
A new type for formatting nanosecond UNIX timestamps to the canonical ISO 8601 format used by Databento.
Supports
- width
{:N}to specify a minimum width ofNcharacters - fill and alignment: change the default fill character from a space and alignment from the default of right-aligned. See the format docs for details
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Ord for Ts
impl Ord for Ts
Source§impl PartialOrd for Ts
impl PartialOrd for Ts
impl Copy for Ts
impl Eq for Ts
impl StructuralPartialEq for Ts
Auto Trait Implementations§
impl Freeze for Ts
impl RefUnwindSafe for Ts
impl Send for Ts
impl Sync for Ts
impl Unpin for Ts
impl UnsafeUnpin for Ts
impl UnwindSafe for Ts
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