pub struct AdminCreateKindResponseKind {Show 13 fields
pub custom_example: Option<AdminCreateKindResponseKindCustomExample>,
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<AdminCreateKindResponseKindPublicPageCopy>,
pub public_page_enabled: Option<bool>,
}Expand description
AdminCreateKindResponseKind
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<AdminCreateKindResponseKindCustomExample>§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<AdminCreateKindResponseKindPublicPageCopy>§public_page_enabled: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for AdminCreateKindResponseKind
impl Clone for AdminCreateKindResponseKind
Source§fn clone(&self) -> AdminCreateKindResponseKind
fn clone(&self) -> AdminCreateKindResponseKind
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 AdminCreateKindResponseKind
impl Debug for AdminCreateKindResponseKind
Source§impl<'de> Deserialize<'de> for AdminCreateKindResponseKind
impl<'de> Deserialize<'de> for AdminCreateKindResponseKind
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<&AdminCreateKindResponseKind> for AdminCreateKindResponseKind
impl From<&AdminCreateKindResponseKind> for AdminCreateKindResponseKind
Source§fn from(value: &AdminCreateKindResponseKind) -> Self
fn from(value: &AdminCreateKindResponseKind) -> Self
Converts to this type from the input type.
Source§impl From<AdminCreateKindResponseKind> for AdminCreateKindResponseKind
impl From<AdminCreateKindResponseKind> for AdminCreateKindResponseKind
Source§fn from(value: AdminCreateKindResponseKind) -> Self
fn from(value: AdminCreateKindResponseKind) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AdminCreateKindResponseKind> for AdminCreateKindResponseKind
impl TryFrom<AdminCreateKindResponseKind> for AdminCreateKindResponseKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AdminCreateKindResponseKind) -> Result<Self, ConversionError>
fn try_from(value: AdminCreateKindResponseKind) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminCreateKindResponseKind
impl RefUnwindSafe for AdminCreateKindResponseKind
impl Send for AdminCreateKindResponseKind
impl Sync for AdminCreateKindResponseKind
impl Unpin for AdminCreateKindResponseKind
impl UnsafeUnpin for AdminCreateKindResponseKind
impl UnwindSafe for AdminCreateKindResponseKind
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