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