pub struct AdminUpdateI18nResponse {
pub available_locales: Vec<AdminUpdateI18nResponseAvailableLocalesItem>,
pub default_locale: AdminUpdateI18nResponseDefaultLocale,
pub enabled_locales: Vec<AdminUpdateI18nResponseEnabledLocalesItem>,
}Expand description
AdminUpdateI18nResponse
JSON schema
{
"type": "object",
"required": [
"availableLocales",
"defaultLocale",
"enabledLocales"
],
"properties": {
"availableLocales": {
"type": "array",
"items": {
"type": "string",
"enum": [
"en",
"de",
"es",
"fr",
"it",
"zh-CN"
]
}
},
"defaultLocale": {
"type": "string",
"enum": [
"en",
"de",
"es",
"fr",
"it",
"zh-CN"
]
},
"enabledLocales": {
"type": "array",
"items": {
"type": "string",
"enum": [
"en",
"de",
"es",
"fr",
"it",
"zh-CN"
]
}
}
}
}Fields§
§available_locales: Vec<AdminUpdateI18nResponseAvailableLocalesItem>§default_locale: AdminUpdateI18nResponseDefaultLocale§enabled_locales: Vec<AdminUpdateI18nResponseEnabledLocalesItem>Implementations§
Source§impl AdminUpdateI18nResponse
impl AdminUpdateI18nResponse
pub fn builder() -> AdminUpdateI18nResponse
Trait Implementations§
Source§impl Clone for AdminUpdateI18nResponse
impl Clone for AdminUpdateI18nResponse
Source§fn clone(&self) -> AdminUpdateI18nResponse
fn clone(&self) -> AdminUpdateI18nResponse
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 AdminUpdateI18nResponse
impl Debug for AdminUpdateI18nResponse
Source§impl<'de> Deserialize<'de> for AdminUpdateI18nResponse
impl<'de> Deserialize<'de> for AdminUpdateI18nResponse
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<&AdminUpdateI18nResponse> for AdminUpdateI18nResponse
impl From<&AdminUpdateI18nResponse> for AdminUpdateI18nResponse
Source§fn from(value: &AdminUpdateI18nResponse) -> Self
fn from(value: &AdminUpdateI18nResponse) -> Self
Converts to this type from the input type.
Source§impl From<AdminUpdateI18nResponse> for AdminUpdateI18nResponse
impl From<AdminUpdateI18nResponse> for AdminUpdateI18nResponse
Source§fn from(value: AdminUpdateI18nResponse) -> Self
fn from(value: AdminUpdateI18nResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for AdminUpdateI18nResponse
impl Serialize for AdminUpdateI18nResponse
Source§impl TryFrom<AdminUpdateI18nResponse> for AdminUpdateI18nResponse
impl TryFrom<AdminUpdateI18nResponse> for AdminUpdateI18nResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AdminUpdateI18nResponse) -> Result<Self, ConversionError>
fn try_from(value: AdminUpdateI18nResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminUpdateI18nResponse
impl RefUnwindSafe for AdminUpdateI18nResponse
impl Send for AdminUpdateI18nResponse
impl Sync for AdminUpdateI18nResponse
impl Unpin for AdminUpdateI18nResponse
impl UnsafeUnpin for AdminUpdateI18nResponse
impl UnwindSafe for AdminUpdateI18nResponse
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