pub struct SimpleResponse {
pub type: String,
pub description: Description,
}
Expand description
Representation of the
Fields§
§type: String
The type of the response
description: Description
The description of the response
Trait Implementations§
Source§impl Clone for SimpleResponse
impl Clone for SimpleResponse
Source§fn clone(&self) -> SimpleResponse
fn clone(&self) -> SimpleResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimpleResponse
impl Debug for SimpleResponse
Source§impl<'de> Deserialize<'de> for SimpleResponse
impl<'de> Deserialize<'de> for SimpleResponse
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 SimpleResponse
impl PartialEq for SimpleResponse
Source§impl Serialize for SimpleResponse
impl Serialize for SimpleResponse
impl Eq for SimpleResponse
impl StructuralPartialEq for SimpleResponse
Auto Trait Implementations§
impl Freeze for SimpleResponse
impl RefUnwindSafe for SimpleResponse
impl Send for SimpleResponse
impl Sync for SimpleResponse
impl Unpin for SimpleResponse
impl UnwindSafe for SimpleResponse
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