Struct icu_datetime::options::preferences::Bag [−][src]
Stores user preferences which may affect the result of date and time formatting.
Examples
use icu::datetime::options::preferences; let prefs = preferences::Bag { hour_cycle: Some(preferences::HourCycle::H23) };
Fields
hour_cycle: Option<HourCycle>
Trait Implementations
impl<'de> Deserialize<'de> for Bag
[src]
impl<'de> Deserialize<'de> for Bag
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for Bag
[src]
impl StructuralPartialEq for Bag
[src]Auto Trait Implementations
impl RefUnwindSafe for Bag
impl RefUnwindSafe for Bag
impl UnwindSafe for Bag
impl UnwindSafe for Bag
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[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> ErasedDataStruct for T where
T: Clone + Debug + Any,
[src]