pub enum LoginResponse {
V3(V3LoginResponse),
V4(V4LoginResponse),
}Expand description
Unified login response
Wraps both V3 and V4 login responses with a common interface.
Variants§
V3(V3LoginResponse)
V4(V4LoginResponse)
Implementations§
Trait Implementations§
Source§impl Clone for LoginResponse
impl Clone for LoginResponse
Source§fn clone(&self) -> LoginResponse
fn clone(&self) -> LoginResponse
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 moreAuto Trait Implementations§
impl Freeze for LoginResponse
impl RefUnwindSafe for LoginResponse
impl Send for LoginResponse
impl Sync for LoginResponse
impl Unpin for LoginResponse
impl UnwindSafe for LoginResponse
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