Struct icu_datetime::provider::gregory::patterns::PatternV1 [−][src]
pub struct PatternV1(pub Pattern);
Expand description
This struct is a public wrapper around the internal [Pattern
] struct. This allows
access to the serialization and deserialization capabilities, without exposing the
internals of the pattern machinery.
The [Pattern
] is an “exotic type” in the serialization process, and handles its own
custom serialization practices.
Tuple Fields
0: Pattern
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PatternV1
impl UnwindSafe for PatternV1
Blanket Implementations
Mutably borrows from an owned value. Read more
Clone this trait object reference, returning a boxed trait object.