pub struct GetSchemaResponse {
pub _links: Option<Box<GetSchemaResponseLinks>>,
pub payload: Option<HashMap<String, Value>>,
pub errors: Option<Vec<Error>>,
}Expand description
GetSchemaResponse : The GET request schema response.
Fields§
§_links: Option<Box<GetSchemaResponseLinks>>§payload: Option<HashMap<String, Value>>A JSON schema document describing the expected payload of the action. This object can be validated against http://json-schema.org/draft-04/schema.
errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations§
Source§impl GetSchemaResponse
impl GetSchemaResponse
Sourcepub fn new() -> GetSchemaResponse
pub fn new() -> GetSchemaResponse
The GET request schema response.
Trait Implementations§
Source§impl Clone for GetSchemaResponse
impl Clone for GetSchemaResponse
Source§fn clone(&self) -> GetSchemaResponse
fn clone(&self) -> GetSchemaResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 GetSchemaResponse
impl Debug for GetSchemaResponse
Source§impl Default for GetSchemaResponse
impl Default for GetSchemaResponse
Source§fn default() -> GetSchemaResponse
fn default() -> GetSchemaResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSchemaResponse
impl<'de> Deserialize<'de> for GetSchemaResponse
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 PartialEq for GetSchemaResponse
impl PartialEq for GetSchemaResponse
Source§impl Serialize for GetSchemaResponse
impl Serialize for GetSchemaResponse
impl StructuralPartialEq for GetSchemaResponse
Auto Trait Implementations§
impl Freeze for GetSchemaResponse
impl RefUnwindSafe for GetSchemaResponse
impl Send for GetSchemaResponse
impl Sync for GetSchemaResponse
impl Unpin for GetSchemaResponse
impl UnwindSafe for GetSchemaResponse
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