pub struct BlogLocale {
pub country: Option<String>,
pub language: Option<String>,
pub variant: Option<String>,
}Expand description
The locale this Blog is set to.
This type is not used in any activity, and only used as part of another schema.
Fields§
§country: Option<String>The country this blog’s locale is set to.
language: Option<String>The language this blog is authored in.
variant: Option<String>The language variant this blog is authored in.
Trait Implementations§
Source§impl Clone for BlogLocale
impl Clone for BlogLocale
Source§fn clone(&self) -> BlogLocale
fn clone(&self) -> BlogLocale
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlogLocale
impl Debug for BlogLocale
Source§impl Default for BlogLocale
impl Default for BlogLocale
Source§fn default() -> BlogLocale
fn default() -> BlogLocale
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlogLocale
impl<'de> Deserialize<'de> for BlogLocale
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
Source§impl Serialize for BlogLocale
impl Serialize for BlogLocale
impl NestedType for BlogLocale
impl Part for BlogLocale
Auto Trait Implementations§
impl Freeze for BlogLocale
impl RefUnwindSafe for BlogLocale
impl Send for BlogLocale
impl Sync for BlogLocale
impl Unpin for BlogLocale
impl UnwindSafe for BlogLocale
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