pub struct AsyncResponse {
pub title: Option<String>,
pub status: Option<String>,
}
Fields§
§title: Option<String>
§status: Option<String>
Implementations§
Source§impl AsyncResponse
impl AsyncResponse
pub fn new() -> AsyncResponse
Trait Implementations§
Source§impl Clone for AsyncResponse
impl Clone for AsyncResponse
Source§fn clone(&self) -> AsyncResponse
fn clone(&self) -> AsyncResponse
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 AsyncResponse
impl Debug for AsyncResponse
Source§impl Default for AsyncResponse
impl Default for AsyncResponse
Source§fn default() -> AsyncResponse
fn default() -> AsyncResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AsyncResponse
impl<'de> Deserialize<'de> for AsyncResponse
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 AsyncResponse
impl PartialEq for AsyncResponse
Source§impl Serialize for AsyncResponse
impl Serialize for AsyncResponse
impl StructuralPartialEq for AsyncResponse
Auto Trait Implementations§
impl Freeze for AsyncResponse
impl RefUnwindSafe for AsyncResponse
impl Send for AsyncResponse
impl Sync for AsyncResponse
impl Unpin for AsyncResponse
impl UnwindSafe for AsyncResponse
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