pub struct GetHomeCopyResponseFeatures {
pub dropin: GetHomeCopyResponseFeaturesDropin,
pub enabled: bool,
pub providers: GetHomeCopyResponseFeaturesProviders,
pub release: GetHomeCopyResponseFeaturesRelease,
}Expand description
GetHomeCopyResponseFeatures
JSON schema
{
"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§
§dropin: GetHomeCopyResponseFeaturesDropin§enabled: bool§providers: GetHomeCopyResponseFeaturesProviders§release: GetHomeCopyResponseFeaturesReleaseImplementations§
Trait Implementations§
Source§impl Clone for GetHomeCopyResponseFeatures
impl Clone for GetHomeCopyResponseFeatures
Source§fn clone(&self) -> GetHomeCopyResponseFeatures
fn clone(&self) -> GetHomeCopyResponseFeatures
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 GetHomeCopyResponseFeatures
impl Debug for GetHomeCopyResponseFeatures
Source§impl<'de> Deserialize<'de> for GetHomeCopyResponseFeatures
impl<'de> Deserialize<'de> for GetHomeCopyResponseFeatures
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<&GetHomeCopyResponseFeatures> for GetHomeCopyResponseFeatures
impl From<&GetHomeCopyResponseFeatures> for GetHomeCopyResponseFeatures
Source§fn from(value: &GetHomeCopyResponseFeatures) -> Self
fn from(value: &GetHomeCopyResponseFeatures) -> Self
Converts to this type from the input type.
Source§impl From<GetHomeCopyResponseFeatures> for GetHomeCopyResponseFeatures
impl From<GetHomeCopyResponseFeatures> for GetHomeCopyResponseFeatures
Source§fn from(value: GetHomeCopyResponseFeatures) -> Self
fn from(value: GetHomeCopyResponseFeatures) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GetHomeCopyResponseFeatures> for GetHomeCopyResponseFeatures
impl TryFrom<GetHomeCopyResponseFeatures> for GetHomeCopyResponseFeatures
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetHomeCopyResponseFeatures) -> Result<Self, ConversionError>
fn try_from(value: GetHomeCopyResponseFeatures) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetHomeCopyResponseFeatures
impl RefUnwindSafe for GetHomeCopyResponseFeatures
impl Send for GetHomeCopyResponseFeatures
impl Sync for GetHomeCopyResponseFeatures
impl Unpin for GetHomeCopyResponseFeatures
impl UnsafeUnpin for GetHomeCopyResponseFeatures
impl UnwindSafe for GetHomeCopyResponseFeatures
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