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