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