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