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