pub struct UpdateBrandingResponse {
pub branding: UpdateBrandingResponseBranding,
pub ok: bool,
}Expand description
UpdateBrandingResponse
JSON schema
{
"type": "object",
"required": [
"branding",
"ok"
],
"properties": {
"branding": {
"type": "object",
"allOf": [
{
"type": "object",
"required": [
"accentHex",
"allowIndexing",
"analyticsScript",
"faviconUrl",
"footerText",
"logoUrl",
"name",
"primaryHex",
"successHex",
"tagline"
],
"properties": {
"accentHex": {
"type": "string"
},
"allowIndexing": {
"type": "boolean"
},
"analyticsScript": {
"type": [
"string",
"null"
]
},
"faviconUrl": {
"type": [
"string",
"null"
]
},
"footerText": {
"type": [
"string",
"null"
]
},
"logoUrl": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"primaryHex": {
"type": "string"
},
"successHex": {
"type": "string"
},
"tagline": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"footerTextTranslations",
"taglineTranslations"
],
"properties": {
"footerTextTranslations": {
"type": "object",
"properties": {
"de": {
"type": [
"string",
"null"
]
},
"en": {
"type": [
"string",
"null"
]
},
"es": {
"type": [
"string",
"null"
]
},
"fr": {
"type": [
"string",
"null"
]
},
"it": {
"type": [
"string",
"null"
]
},
"zh-CN": {
"type": [
"string",
"null"
]
}
}
},
"taglineTranslations": {
"type": "object",
"properties": {
"de": {
"type": [
"string",
"null"
]
},
"en": {
"type": [
"string",
"null"
]
},
"es": {
"type": [
"string",
"null"
]
},
"fr": {
"type": [
"string",
"null"
]
},
"it": {
"type": [
"string",
"null"
]
},
"zh-CN": {
"type": [
"string",
"null"
]
}
}
}
}
}
]
},
"ok": {
"type": "boolean"
}
}
}Fields§
§branding: UpdateBrandingResponseBranding§ok: boolImplementations§
Source§impl UpdateBrandingResponse
impl UpdateBrandingResponse
pub fn builder() -> UpdateBrandingResponse
Trait Implementations§
Source§impl Clone for UpdateBrandingResponse
impl Clone for UpdateBrandingResponse
Source§fn clone(&self) -> UpdateBrandingResponse
fn clone(&self) -> UpdateBrandingResponse
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 UpdateBrandingResponse
impl Debug for UpdateBrandingResponse
Source§impl<'de> Deserialize<'de> for UpdateBrandingResponse
impl<'de> Deserialize<'de> for UpdateBrandingResponse
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<&UpdateBrandingResponse> for UpdateBrandingResponse
impl From<&UpdateBrandingResponse> for UpdateBrandingResponse
Source§fn from(value: &UpdateBrandingResponse) -> Self
fn from(value: &UpdateBrandingResponse) -> Self
Converts to this type from the input type.
Source§impl From<UpdateBrandingResponse> for UpdateBrandingResponse
impl From<UpdateBrandingResponse> for UpdateBrandingResponse
Source§fn from(value: UpdateBrandingResponse) -> Self
fn from(value: UpdateBrandingResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for UpdateBrandingResponse
impl Serialize for UpdateBrandingResponse
Source§impl TryFrom<UpdateBrandingResponse> for UpdateBrandingResponse
impl TryFrom<UpdateBrandingResponse> for UpdateBrandingResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UpdateBrandingResponse) -> Result<Self, ConversionError>
fn try_from(value: UpdateBrandingResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UpdateBrandingResponse
impl RefUnwindSafe for UpdateBrandingResponse
impl Send for UpdateBrandingResponse
impl Sync for UpdateBrandingResponse
impl Unpin for UpdateBrandingResponse
impl UnsafeUnpin for UpdateBrandingResponse
impl UnwindSafe for UpdateBrandingResponse
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