Struct icu_datetime::provider::gregory::patterns::PatternV1[][src]

pub struct PatternV1(pub Pattern);

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.

Trait Implementations

impl Clone for PatternV1[src]

impl Debug for PatternV1[src]

impl Default for PatternV1[src]

impl<'de> Deserialize<'de> for PatternV1[src]

impl PartialEq<PatternV1> for PatternV1[src]

impl Serialize for PatternV1[src]

impl StructuralPartialEq for PatternV1[src]

impl TryFrom<&'_ str> for PatternV1[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> ErasedDataStruct for T where
    T: Clone + Debug + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.