Trait pavex::time::formatting::Formattable

pub trait Formattable: Sealed { }
Expand description

A type that describes a format.

Implementors of Formattable are format descriptions.

Date::format and Time::format each use a format description to generate a String from their data. See the respective methods for usage examples.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Formattable for [BorrowedFormatItem<'_>]

§

impl Formattable for [OwnedFormatItem]

Implementors§

§

impl Formattable for BorrowedFormatItem<'_>

§

impl Formattable for OwnedFormatItem

§

impl Formattable for Rfc2822

§

impl Formattable for Rfc3339

§

impl<T> Formattable for T
where T: Deref, <T as Deref>::Target: Formattable,

§

impl<const CONFIG: u128> Formattable for Iso8601<CONFIG>