pub struct BaseResponse200 {
pub success: Option<bool>,
pub status: Option<String>,
}
Fields§
§success: Option<bool>
If the response is successful or not
status: Option<String>
The status of the response
Implementations§
Source§impl BaseResponse200
impl BaseResponse200
pub fn new() -> BaseResponse200
Trait Implementations§
Source§impl Clone for BaseResponse200
impl Clone for BaseResponse200
Source§fn clone(&self) -> BaseResponse200
fn clone(&self) -> BaseResponse200
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 BaseResponse200
impl Debug for BaseResponse200
Source§impl<'de> Deserialize<'de> for BaseResponse200
impl<'de> Deserialize<'de> for BaseResponse200
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 BaseResponse200
impl PartialEq for BaseResponse200
Source§impl Serialize for BaseResponse200
impl Serialize for BaseResponse200
impl StructuralPartialEq for BaseResponse200
Auto Trait Implementations§
impl Freeze for BaseResponse200
impl RefUnwindSafe for BaseResponse200
impl Send for BaseResponse200
impl Sync for BaseResponse200
impl Unpin for BaseResponse200
impl UnwindSafe for BaseResponse200
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