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