Struct expr::scalar::func::format::DateTimeFormat [−][src]
pub struct DateTimeFormat(Vec<DateTimeFormatNode>);
Expand description
A compiled date-time format string.
Tuple Fields
0: Vec<DateTimeFormatNode>
Implementations
Compiles a new DateTimeFormat
from the input string s
.
Renders the format string using the timestamp ts
as the input. The
placeholders in the format string will be filled in appropriately
according to the value of ts
.
Auto Trait Implementations
impl RefUnwindSafe for DateTimeFormat
impl Send for DateTimeFormat
impl Sync for DateTimeFormat
impl Unpin for DateTimeFormat
impl UnwindSafe for DateTimeFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more