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