pub struct FmtSettings {
pub currency: String,
pub currency_format: String,
pub short_date: String,
pub short_date_example: String,
pub long_date: String,
pub long_date_example: String,
pub number_fmt: String,
pub number_example: String,
}Expand description
Formatting settings for a locale
Fields§
§currency: StringCurrency format
currency_format: StringCurrency format with symbol
short_date: StringShort date format
short_date_example: StringExample of short date format
long_date: StringLong date format
long_date_example: StringExample of long date format
number_fmt: StringNumber format
number_example: StringExample of number format
Auto Trait Implementations§
impl Freeze for FmtSettings
impl RefUnwindSafe for FmtSettings
impl Send for FmtSettings
impl Sync for FmtSettings
impl Unpin for FmtSettings
impl UnsafeUnpin for FmtSettings
impl UnwindSafe for FmtSettings
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