pub struct ServeTypesResponse {
pub types: Vec<String>,
}Expand description
ServeTypesResponse
JSON schema
{
"type": "object",
"required": [
"types"
],
"properties": {
"types": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§types: Vec<String>Trait Implementations§
Source§impl Clone for ServeTypesResponse
impl Clone for ServeTypesResponse
Source§fn clone(&self) -> ServeTypesResponse
fn clone(&self) -> ServeTypesResponse
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 ServeTypesResponse
impl Debug for ServeTypesResponse
Source§impl<'de> Deserialize<'de> for ServeTypesResponse
impl<'de> Deserialize<'de> for ServeTypesResponse
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<&ServeTypesResponse> for ServeTypesResponse
impl From<&ServeTypesResponse> for ServeTypesResponse
Source§fn from(value: &ServeTypesResponse) -> Self
fn from(value: &ServeTypesResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServeTypesResponse
impl RefUnwindSafe for ServeTypesResponse
impl Send for ServeTypesResponse
impl Sync for ServeTypesResponse
impl Unpin for ServeTypesResponse
impl UnsafeUnpin for ServeTypesResponse
impl UnwindSafe for ServeTypesResponse
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