pub struct AuthResponse {
pub id: isize,
pub response_type: u8,
}
Expand description
Response from auth request
Fields§
§id: isize
§response_type: u8
Implementations§
Source§impl AuthResponse
impl AuthResponse
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Is auth success
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthResponse
impl RefUnwindSafe for AuthResponse
impl Send for AuthResponse
impl Sync for AuthResponse
impl Unpin for AuthResponse
impl UnwindSafe for AuthResponse
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