pub struct GetBrandingResponse {
pub accent_hex: String,
pub allow_indexing: bool,
pub analytics_script: Option<String>,
pub favicon_url: Option<String>,
pub footer_text: Option<String>,
pub logo_url: Option<String>,
pub name: String,
pub primary_hex: String,
pub success_hex: String,
pub tagline: String,
}Expand description
GetBrandingResponse
JSON schema
{
"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§
§accent_hex: String§allow_indexing: bool§analytics_script: Option<String>§favicon_url: Option<String>§logo_url: Option<String>§name: String§primary_hex: String§success_hex: String§tagline: StringImplementations§
Source§impl GetBrandingResponse
impl GetBrandingResponse
pub fn builder() -> GetBrandingResponse
Trait Implementations§
Source§impl Clone for GetBrandingResponse
impl Clone for GetBrandingResponse
Source§fn clone(&self) -> GetBrandingResponse
fn clone(&self) -> GetBrandingResponse
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 GetBrandingResponse
impl Debug for GetBrandingResponse
Source§impl<'de> Deserialize<'de> for GetBrandingResponse
impl<'de> Deserialize<'de> for GetBrandingResponse
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<&GetBrandingResponse> for GetBrandingResponse
impl From<&GetBrandingResponse> for GetBrandingResponse
Source§fn from(value: &GetBrandingResponse) -> Self
fn from(value: &GetBrandingResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetBrandingResponse> for GetBrandingResponse
impl From<GetBrandingResponse> for GetBrandingResponse
Source§fn from(value: GetBrandingResponse) -> Self
fn from(value: GetBrandingResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetBrandingResponse
impl Serialize for GetBrandingResponse
Source§impl TryFrom<GetBrandingResponse> for GetBrandingResponse
impl TryFrom<GetBrandingResponse> for GetBrandingResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetBrandingResponse) -> Result<Self, ConversionError>
fn try_from(value: GetBrandingResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetBrandingResponse
impl RefUnwindSafe for GetBrandingResponse
impl Send for GetBrandingResponse
impl Sync for GetBrandingResponse
impl Unpin for GetBrandingResponse
impl UnsafeUnpin for GetBrandingResponse
impl UnwindSafe for GetBrandingResponse
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