pub struct AdminGetKindResponse {
pub kind: AdminGetKindResponseKind,
}Expand description
AdminGetKindResponse
JSON schema
{
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"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§
§kind: AdminGetKindResponseKindImplementations§
Source§impl AdminGetKindResponse
impl AdminGetKindResponse
pub fn builder() -> AdminGetKindResponse
Trait Implementations§
Source§impl Clone for AdminGetKindResponse
impl Clone for AdminGetKindResponse
Source§fn clone(&self) -> AdminGetKindResponse
fn clone(&self) -> AdminGetKindResponse
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 AdminGetKindResponse
impl Debug for AdminGetKindResponse
Source§impl<'de> Deserialize<'de> for AdminGetKindResponse
impl<'de> Deserialize<'de> for AdminGetKindResponse
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<&AdminGetKindResponse> for AdminGetKindResponse
impl From<&AdminGetKindResponse> for AdminGetKindResponse
Source§fn from(value: &AdminGetKindResponse) -> Self
fn from(value: &AdminGetKindResponse) -> Self
Converts to this type from the input type.
Source§impl From<AdminGetKindResponse> for AdminGetKindResponse
impl From<AdminGetKindResponse> for AdminGetKindResponse
Source§fn from(value: AdminGetKindResponse) -> Self
fn from(value: AdminGetKindResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for AdminGetKindResponse
impl Serialize for AdminGetKindResponse
Source§impl TryFrom<AdminGetKindResponse> for AdminGetKindResponse
impl TryFrom<AdminGetKindResponse> for AdminGetKindResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AdminGetKindResponse) -> Result<Self, ConversionError>
fn try_from(value: AdminGetKindResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AdminGetKindResponse
impl RefUnwindSafe for AdminGetKindResponse
impl Send for AdminGetKindResponse
impl Sync for AdminGetKindResponse
impl Unpin for AdminGetKindResponse
impl UnsafeUnpin for AdminGetKindResponse
impl UnwindSafe for AdminGetKindResponse
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