pub struct GetHomeCopyResponse {
pub eyebrow: GetHomeCopyResponseEyebrow,
pub features: GetHomeCopyResponseFeatures,
}Expand description
GetHomeCopyResponse
JSON schema
{
"type": "object",
"required": [
"eyebrow",
"features"
],
"properties": {
"eyebrow": {
"type": "object",
"required": [
"enabled",
"text"
],
"properties": {
"enabled": {
"type": "boolean"
},
"text": {
"type": "object",
"properties": {
"de": {
"type": "string"
},
"en": {
"type": "string"
},
"es": {
"type": "string"
},
"fr": {
"type": "string"
},
"it": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
}
}
}
},
"features": {
"type": "object",
"required": [
"dropin",
"enabled",
"providers",
"release"
],
"properties": {
"dropin": {
"type": "object",
"required": [
"body",
"title"
],
"properties": {
"body": {
"type": "object",
"properties": {
"de": {
"type": "string"
},
"en": {
"type": "string"
},
"es": {
"type": "string"
},
"fr": {
"type": "string"
},
"it": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
}
},
"title": {
"type": "object",
"properties": {
"de": {
"type": "string"
},
"en": {
"type": "string"
},
"es": {
"type": "string"
},
"fr": {
"type": "string"
},
"it": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
}
}
}
},
"enabled": {
"type": "boolean"
},
"providers": {
"type": "object",
"required": [
"body",
"title"
],
"properties": {
"body": {
"type": "object",
"properties": {
"de": {
"type": "string"
},
"en": {
"type": "string"
},
"es": {
"type": "string"
},
"fr": {
"type": "string"
},
"it": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
}
},
"title": {
"type": "object",
"properties": {
"de": {
"type": "string"
},
"en": {
"type": "string"
},
"es": {
"type": "string"
},
"fr": {
"type": "string"
},
"it": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
}
}
}
},
"release": {
"type": "object",
"required": [
"body",
"title"
],
"properties": {
"body": {
"type": "object",
"properties": {
"de": {
"type": "string"
},
"en": {
"type": "string"
},
"es": {
"type": "string"
},
"fr": {
"type": "string"
},
"it": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
}
},
"title": {
"type": "object",
"properties": {
"de": {
"type": "string"
},
"en": {
"type": "string"
},
"es": {
"type": "string"
},
"fr": {
"type": "string"
},
"it": {
"type": "string"
},
"zh-CN": {
"type": "string"
}
}
}
}
}
}
}
}
}Fields§
§eyebrow: GetHomeCopyResponseEyebrow§features: GetHomeCopyResponseFeaturesImplementations§
Source§impl GetHomeCopyResponse
impl GetHomeCopyResponse
pub fn builder() -> GetHomeCopyResponse
Trait Implementations§
Source§impl Clone for GetHomeCopyResponse
impl Clone for GetHomeCopyResponse
Source§fn clone(&self) -> GetHomeCopyResponse
fn clone(&self) -> GetHomeCopyResponse
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 GetHomeCopyResponse
impl Debug for GetHomeCopyResponse
Source§impl<'de> Deserialize<'de> for GetHomeCopyResponse
impl<'de> Deserialize<'de> for GetHomeCopyResponse
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<&GetHomeCopyResponse> for GetHomeCopyResponse
impl From<&GetHomeCopyResponse> for GetHomeCopyResponse
Source§fn from(value: &GetHomeCopyResponse) -> Self
fn from(value: &GetHomeCopyResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetHomeCopyResponse> for GetHomeCopyResponse
impl From<GetHomeCopyResponse> for GetHomeCopyResponse
Source§fn from(value: GetHomeCopyResponse) -> Self
fn from(value: GetHomeCopyResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetHomeCopyResponse
impl Serialize for GetHomeCopyResponse
Source§impl TryFrom<GetHomeCopyResponse> for GetHomeCopyResponse
impl TryFrom<GetHomeCopyResponse> for GetHomeCopyResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetHomeCopyResponse) -> Result<Self, ConversionError>
fn try_from(value: GetHomeCopyResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetHomeCopyResponse
impl RefUnwindSafe for GetHomeCopyResponse
impl Send for GetHomeCopyResponse
impl Sync for GetHomeCopyResponse
impl Unpin for GetHomeCopyResponse
impl UnsafeUnpin for GetHomeCopyResponse
impl UnwindSafe for GetHomeCopyResponse
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