pub struct GetSchemaResponse {
pub _links: Option<Box<GetSchemaResponseLinks>>,
pub payload: Option<HashMap<String, Value>>,
pub errors: Option<Vec<Error>>,
}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
sourceimpl GetSchemaResponse
impl GetSchemaResponse
pub fn new() -> GetSchemaResponse
Trait Implementations
sourceimpl Clone for GetSchemaResponse
impl Clone for GetSchemaResponse
sourcefn clone(&self) -> GetSchemaResponse
fn clone(&self) -> GetSchemaResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GetSchemaResponse
impl Debug for GetSchemaResponse
sourceimpl Default for GetSchemaResponse
impl Default for GetSchemaResponse
sourcefn default() -> GetSchemaResponse
fn default() -> GetSchemaResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetSchemaResponse
impl<'de> Deserialize<'de> for GetSchemaResponse
sourcefn 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
sourceimpl PartialEq<GetSchemaResponse> for GetSchemaResponse
impl PartialEq<GetSchemaResponse> for GetSchemaResponse
sourcefn eq(&self, other: &GetSchemaResponse) -> bool
fn eq(&self, other: &GetSchemaResponse) -> bool
sourceimpl Serialize for GetSchemaResponse
impl Serialize for GetSchemaResponse
impl StructuralPartialEq for GetSchemaResponse
Auto Trait Implementations
impl RefUnwindSafe for GetSchemaResponse
impl Send for GetSchemaResponse
impl Sync for GetSchemaResponse
impl Unpin for GetSchemaResponse
impl UnwindSafe for GetSchemaResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more