pub enum AdminUpdateI18nBodyDefaultLocale {
En,
De,
Es,
Fr,
It,
ZhCn,
}Expand description
AdminUpdateI18nBodyDefaultLocale
JSON schema
{
"type": "string",
"enum": [
"en",
"de",
"es",
"fr",
"it",
"zh-CN"
]
}Variants§
Trait Implementations§
Source§impl Clone for AdminUpdateI18nBodyDefaultLocale
impl Clone for AdminUpdateI18nBodyDefaultLocale
Source§fn clone(&self) -> AdminUpdateI18nBodyDefaultLocale
fn clone(&self) -> AdminUpdateI18nBodyDefaultLocale
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for AdminUpdateI18nBodyDefaultLocale
impl<'de> Deserialize<'de> for AdminUpdateI18nBodyDefaultLocale
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 From<&AdminUpdateI18nBodyDefaultLocale> for AdminUpdateI18nBodyDefaultLocale
impl From<&AdminUpdateI18nBodyDefaultLocale> for AdminUpdateI18nBodyDefaultLocale
Source§fn from(value: &AdminUpdateI18nBodyDefaultLocale) -> Self
fn from(value: &AdminUpdateI18nBodyDefaultLocale) -> Self
Converts to this type from the input type.
Source§impl Ord for AdminUpdateI18nBodyDefaultLocale
impl Ord for AdminUpdateI18nBodyDefaultLocale
Source§fn cmp(&self, other: &AdminUpdateI18nBodyDefaultLocale) -> Ordering
fn cmp(&self, other: &AdminUpdateI18nBodyDefaultLocale) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AdminUpdateI18nBodyDefaultLocale
impl PartialEq for AdminUpdateI18nBodyDefaultLocale
Source§fn eq(&self, other: &AdminUpdateI18nBodyDefaultLocale) -> bool
fn eq(&self, other: &AdminUpdateI18nBodyDefaultLocale) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AdminUpdateI18nBodyDefaultLocale
impl PartialOrd for AdminUpdateI18nBodyDefaultLocale
Source§impl TryFrom<&String> for AdminUpdateI18nBodyDefaultLocale
impl TryFrom<&String> for AdminUpdateI18nBodyDefaultLocale
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AdminUpdateI18nBodyDefaultLocale
impl TryFrom<&str> for AdminUpdateI18nBodyDefaultLocale
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AdminUpdateI18nBodyDefaultLocale
impl TryFrom<String> for AdminUpdateI18nBodyDefaultLocale
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for AdminUpdateI18nBodyDefaultLocale
impl Eq for AdminUpdateI18nBodyDefaultLocale
impl StructuralPartialEq for AdminUpdateI18nBodyDefaultLocale
Auto Trait Implementations§
impl Freeze for AdminUpdateI18nBodyDefaultLocale
impl RefUnwindSafe for AdminUpdateI18nBodyDefaultLocale
impl Send for AdminUpdateI18nBodyDefaultLocale
impl Sync for AdminUpdateI18nBodyDefaultLocale
impl Unpin for AdminUpdateI18nBodyDefaultLocale
impl UnsafeUnpin for AdminUpdateI18nBodyDefaultLocale
impl UnwindSafe for AdminUpdateI18nBodyDefaultLocale
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