pub struct AdminUpdateKindResponseKind {Show 13 fields
pub custom_example: Option<AdminUpdateKindResponseKindCustomExample>,
pub description: Option<String>,
pub description_translations: Map<String, Value>,
pub extensions_schema: Option<Map<String, Value>>,
pub key: String,
pub label: String,
pub label_translations: Map<String, Value>,
pub prose_post: Option<String>,
pub prose_post_translations: Map<String, Value>,
pub prose_pre: Option<String>,
pub prose_pre_translations: Map<String, Value>,
pub public_page_copy: Option<AdminUpdateKindResponseKindPublicPageCopy>,
pub public_page_enabled: Option<bool>,
}Expand description
AdminUpdateKindResponseKind
JSON schema
{
"type": "object",
"required": [
"description",
"key",
"label"
],
"properties": {
"customExample": {
"type": [
"object",
"null"
],
"properties": {
"json": {
"type": "string"
},
"yaml": {
"type": "string"
}
}
},
"description": {
"type": [
"string",
"null"
]
},
"descriptionTranslations": {
"type": "object"
},
"extensionsSchema": {
"type": [
"object",
"null"
]
},
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"labelTranslations": {
"type": "object"
},
"prosePost": {
"type": [
"string",
"null"
]
},
"prosePostTranslations": {
"type": "object"
},
"prosePre": {
"type": [
"string",
"null"
]
},
"prosePreTranslations": {
"type": "object"
},
"publicPageCopy": {
"type": [
"object",
"null"
],
"required": [
"hero",
"intro"
],
"properties": {
"hero": {
"type": [
"string",
"null"
],
"maxLength": 80
},
"heroTranslations": {
"type": "object"
},
"intro": {
"type": [
"string",
"null"
],
"maxLength": 600
},
"introTranslations": {
"type": "object"
}
}
},
"publicPageEnabled": {
"type": "boolean"
}
}
}Fields§
§custom_example: Option<AdminUpdateKindResponseKindCustomExample>§description: Option<String>§description_translations: Map<String, Value>§extensions_schema: Option<Map<String, Value>>§key: String§label: String§label_translations: Map<String, Value>§prose_post: Option<String>§prose_post_translations: Map<String, Value>§prose_pre: Option<String>§prose_pre_translations: Map<String, Value>§public_page_copy: Option<AdminUpdateKindResponseKindPublicPageCopy>§public_page_enabled: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for AdminUpdateKindResponseKind
impl Clone for AdminUpdateKindResponseKind
Source§fn clone(&self) -> AdminUpdateKindResponseKind
fn clone(&self) -> AdminUpdateKindResponseKind
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 AdminUpdateKindResponseKind
impl Debug for AdminUpdateKindResponseKind
Source§impl<'de> Deserialize<'de> for AdminUpdateKindResponseKind
impl<'de> Deserialize<'de> for AdminUpdateKindResponseKind
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<&AdminUpdateKindResponseKind> for AdminUpdateKindResponseKind
impl From<&AdminUpdateKindResponseKind> for AdminUpdateKindResponseKind
Source§fn from(value: &AdminUpdateKindResponseKind) -> Self
fn from(value: &AdminUpdateKindResponseKind) -> Self
Converts to this type from the input type.
Source§impl From<AdminUpdateKindResponseKind> for AdminUpdateKindResponseKind
impl From<AdminUpdateKindResponseKind> for AdminUpdateKindResponseKind
Source§fn from(value: AdminUpdateKindResponseKind) -> Self
fn from(value: AdminUpdateKindResponseKind) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AdminUpdateKindResponseKind> for AdminUpdateKindResponseKind
impl TryFrom<AdminUpdateKindResponseKind> for AdminUpdateKindResponseKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AdminUpdateKindResponseKind) -> Result<Self, ConversionError>
fn try_from(value: AdminUpdateKindResponseKind) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminUpdateKindResponseKind
impl RefUnwindSafe for AdminUpdateKindResponseKind
impl Send for AdminUpdateKindResponseKind
impl Sync for AdminUpdateKindResponseKind
impl Unpin for AdminUpdateKindResponseKind
impl UnsafeUnpin for AdminUpdateKindResponseKind
impl UnwindSafe for AdminUpdateKindResponseKind
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