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