Struct icu_datetime::format::datetime::RequiredData
source · pub struct RequiredData {
pub date_symbols_data: bool,
pub time_symbols_data: bool,
pub week_data: bool,
}
Expand description
What data is required to format a given pattern.
Fields§
§date_symbols_data: bool
§time_symbols_data: bool
§week_data: bool
Implementations§
source§impl RequiredData
impl RequiredData
Trait Implementations§
source§impl Default for RequiredData
impl Default for RequiredData
source§fn default() -> RequiredData
fn default() -> RequiredData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RequiredData
impl RefUnwindSafe for RequiredData
impl Send for RequiredData
impl Sync for RequiredData
impl Unpin for RequiredData
impl UnwindSafe for RequiredData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more