pub trait TimestampLiteral {
    // Required method
    fn lit_timestamp_nano(&self) -> Expr;
}
Expand description

Trait for converting a type to a literal timestamp

Required Methods§

Implementations on Foreign Types§

source§

impl TimestampLiteral for u32

literal expression containing a u32

source§

impl TimestampLiteral for i64

literal expression containing an i64

source§

impl TimestampLiteral for i8

literal expression containing an i8

source§

impl TimestampLiteral for i32

literal expression containing an i32

source§

impl TimestampLiteral for u8

literal expression containing a u8

source§

impl TimestampLiteral for u16

literal expression containing a u16

source§

impl TimestampLiteral for i16

literal expression containing an i16

Implementors§