pub struct I18nConfig {
pub default_locale: Option<String>,
pub supported_locales: Option<Vec<String>>,
pub mode: Option<String>,
}Fields§
§default_locale: Option<String>§supported_locales: Option<Vec<String>>§mode: Option<String>Trait Implementations§
Source§impl Clone for I18nConfig
impl Clone for I18nConfig
Source§impl Debug for I18nConfig
impl Debug for I18nConfig
Source§impl<'de> Deserialize<'de> for I18nConfig
impl<'de> Deserialize<'de> for I18nConfig
Source§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 Forget for I18nConfig
impl Freeze for I18nConfig
impl Move for I18nConfig
impl RefUnwindSafe for I18nConfig
impl Send for I18nConfig
impl Sync for I18nConfig
impl Unpin for I18nConfig
impl UnsafeUnpin for I18nConfig
impl UnwindSafe for I18nConfig
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