pub struct GetAdminBrandingResponse {
pub current: GetAdminBrandingResponseCurrent,
pub defaults: GetAdminBrandingResponseDefaults,
}Expand description
GetAdminBrandingResponse
JSON schema
{
"type": "object",
"required": [
"current",
"defaults"
],
"properties": {
"current": {
"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"
]
}
}
}
}
}
]
},
"defaults": {
"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"
}
}
}
}
}Fields§
§current: GetAdminBrandingResponseCurrent§defaults: GetAdminBrandingResponseDefaultsImplementations§
Source§impl GetAdminBrandingResponse
impl GetAdminBrandingResponse
pub fn builder() -> GetAdminBrandingResponse
Trait Implementations§
Source§impl Clone for GetAdminBrandingResponse
impl Clone for GetAdminBrandingResponse
Source§fn clone(&self) -> GetAdminBrandingResponse
fn clone(&self) -> GetAdminBrandingResponse
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 GetAdminBrandingResponse
impl Debug for GetAdminBrandingResponse
Source§impl<'de> Deserialize<'de> for GetAdminBrandingResponse
impl<'de> Deserialize<'de> for GetAdminBrandingResponse
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<&GetAdminBrandingResponse> for GetAdminBrandingResponse
impl From<&GetAdminBrandingResponse> for GetAdminBrandingResponse
Source§fn from(value: &GetAdminBrandingResponse) -> Self
fn from(value: &GetAdminBrandingResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetAdminBrandingResponse> for GetAdminBrandingResponse
impl From<GetAdminBrandingResponse> for GetAdminBrandingResponse
Source§fn from(value: GetAdminBrandingResponse) -> Self
fn from(value: GetAdminBrandingResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetAdminBrandingResponse
impl Serialize for GetAdminBrandingResponse
Source§impl TryFrom<GetAdminBrandingResponse> for GetAdminBrandingResponse
impl TryFrom<GetAdminBrandingResponse> for GetAdminBrandingResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetAdminBrandingResponse) -> Result<Self, ConversionError>
fn try_from(value: GetAdminBrandingResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetAdminBrandingResponse
impl RefUnwindSafe for GetAdminBrandingResponse
impl Send for GetAdminBrandingResponse
impl Sync for GetAdminBrandingResponse
impl Unpin for GetAdminBrandingResponse
impl UnsafeUnpin for GetAdminBrandingResponse
impl UnwindSafe for GetAdminBrandingResponse
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