pub struct UpdateBrandingBody {
pub accent_hex: Option<String>,
pub allow_indexing: Option<bool>,
pub analytics_script: Option<UpdateBrandingBodyAnalyticsScript>,
pub favicon_url: Option<String>,
pub footer_text: Option<UpdateBrandingBodyFooterText>,
pub footer_text_translations: Option<UpdateBrandingBodyFooterTextTranslations>,
pub logo_url: Option<String>,
pub name: Option<UpdateBrandingBodyName>,
pub primary_hex: Option<String>,
pub success_hex: Option<String>,
pub tagline: Option<UpdateBrandingBodyTagline>,
pub tagline_translations: Option<UpdateBrandingBodyTaglineTranslations>,
}Expand description
UpdateBrandingBody
JSON schema
{
"type": "object",
"properties": {
"accentHex": {
"type": "string"
},
"allowIndexing": {
"type": "boolean"
},
"analyticsScript": {
"type": [
"string",
"null"
],
"maxLength": 4000
},
"faviconUrl": {
"type": [
"string",
"null"
]
},
"footerText": {
"type": [
"string",
"null"
],
"maxLength": 1000
},
"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"
]
}
}
},
"logoUrl": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"primaryHex": {
"type": "string"
},
"successHex": {
"type": "string"
},
"tagline": {
"type": "string",
"maxLength": 200
},
"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"
]
}
}
}
}
}Fields§
§accent_hex: Option<String>§allow_indexing: Option<bool>§analytics_script: Option<UpdateBrandingBodyAnalyticsScript>§favicon_url: Option<String>§logo_url: Option<String>§name: Option<UpdateBrandingBodyName>§primary_hex: Option<String>§success_hex: Option<String>§tagline: Option<UpdateBrandingBodyTagline>§tagline_translations: Option<UpdateBrandingBodyTaglineTranslations>Implementations§
Source§impl UpdateBrandingBody
impl UpdateBrandingBody
pub fn builder() -> UpdateBrandingBody
Trait Implementations§
Source§impl Clone for UpdateBrandingBody
impl Clone for UpdateBrandingBody
Source§fn clone(&self) -> UpdateBrandingBody
fn clone(&self) -> UpdateBrandingBody
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 UpdateBrandingBody
impl Debug for UpdateBrandingBody
Source§impl Default for UpdateBrandingBody
impl Default for UpdateBrandingBody
Source§impl<'de> Deserialize<'de> for UpdateBrandingBody
impl<'de> Deserialize<'de> for UpdateBrandingBody
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<&UpdateBrandingBody> for UpdateBrandingBody
impl From<&UpdateBrandingBody> for UpdateBrandingBody
Source§fn from(value: &UpdateBrandingBody) -> Self
fn from(value: &UpdateBrandingBody) -> Self
Converts to this type from the input type.
Source§impl From<UpdateBrandingBody> for UpdateBrandingBody
impl From<UpdateBrandingBody> for UpdateBrandingBody
Source§fn from(value: UpdateBrandingBody) -> Self
fn from(value: UpdateBrandingBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for UpdateBrandingBody
impl Serialize for UpdateBrandingBody
Source§impl TryFrom<UpdateBrandingBody> for UpdateBrandingBody
impl TryFrom<UpdateBrandingBody> for UpdateBrandingBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UpdateBrandingBody) -> Result<Self, ConversionError>
fn try_from(value: UpdateBrandingBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UpdateBrandingBody
impl RefUnwindSafe for UpdateBrandingBody
impl Send for UpdateBrandingBody
impl Sync for UpdateBrandingBody
impl Unpin for UpdateBrandingBody
impl UnsafeUnpin for UpdateBrandingBody
impl UnwindSafe for UpdateBrandingBody
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