pub struct ResponseStatus<Dto> {
pub status: bool,
pub code: isize,
pub message: String,
pub data: Option<Dto>,
}Fields§
§status: bool§code: isize§message: String§data: Option<Dto>Trait Implementations§
Source§impl<Dto: Debug> Debug for ResponseStatus<Dto>
impl<Dto: Debug> Debug for ResponseStatus<Dto>
Auto Trait Implementations§
impl<Dto> Freeze for ResponseStatus<Dto>where
Dto: Freeze,
impl<Dto> RefUnwindSafe for ResponseStatus<Dto>where
Dto: RefUnwindSafe,
impl<Dto> Send for ResponseStatus<Dto>where
Dto: Send,
impl<Dto> Sync for ResponseStatus<Dto>where
Dto: Sync,
impl<Dto> Unpin for ResponseStatus<Dto>where
Dto: Unpin,
impl<Dto> UnwindSafe for ResponseStatus<Dto>where
Dto: UnwindSafe,
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