pub struct LogoutResponse {
pub success: bool,
pub message: String,
}
Expand description
Token invalidation response
Fields§
§success: bool
Success status
message: String
Response message
Trait Implementations§
Source§impl Clone for LogoutResponse
impl Clone for LogoutResponse
Source§fn clone(&self) -> LogoutResponse
fn clone(&self) -> LogoutResponse
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 LogoutResponse
impl Debug for LogoutResponse
Source§impl<'de> Deserialize<'de> for LogoutResponse
impl<'de> Deserialize<'de> for LogoutResponse
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
Auto Trait Implementations§
impl Freeze for LogoutResponse
impl RefUnwindSafe for LogoutResponse
impl Send for LogoutResponse
impl Sync for LogoutResponse
impl Unpin for LogoutResponse
impl UnwindSafe for LogoutResponse
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