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