Struct openapi_lambda::models::EmptyModel  
source · pub struct EmptyModel {}Expand description
An empty object (e.g., {} in a JSON request/response body).
Note that this type ignores any unexpected fields during deserialization.
Trait Implementations§
source§impl Clone for EmptyModel
 
impl Clone for EmptyModel
source§fn clone(&self) -> EmptyModel
 
fn clone(&self) -> EmptyModel
Returns a copy 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 EmptyModel
 
impl Debug for EmptyModel
source§impl<'de> Deserialize<'de> for EmptyModel
 
impl<'de> Deserialize<'de> for EmptyModel
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 EmptyModel
 
impl PartialEq for EmptyModel
source§fn eq(&self, other: &EmptyModel) -> bool
 
fn eq(&self, other: &EmptyModel) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for EmptyModel
 
impl Serialize for EmptyModel
impl Copy for EmptyModel
impl Eq for EmptyModel
impl StructuralEq for EmptyModel
impl StructuralPartialEq for EmptyModel
Auto Trait Implementations§
impl RefUnwindSafe for EmptyModel
impl Send for EmptyModel
impl Sync for EmptyModel
impl Unpin for EmptyModel
impl UnwindSafe for EmptyModel
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
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<B> IntoFunctionResponse<B, Body> for Bwhere
    B: Serialize,
 
impl<B> IntoFunctionResponse<B, Body> for Bwhere
    B: Serialize,
source§fn into_response(self) -> FunctionResponse<B, Body>
 
fn into_response(self) -> FunctionResponse<B, Body>
Convert the type into a FunctionResponse.