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