pub enum IdentityServiceResponseKind {
Ready,
AuthSuccess(AuthResponseSuccess),
AuthFailure(String),
}Expand description
Enum representing the kind of response from the Identity Service.
Variants§
Ready
Represents a ready state.
AuthSuccess(AuthResponseSuccess)
Represents a successful authentication response.
AuthFailure(String)
Represents a failed authentication response with an error message.
Trait Implementations§
Source§impl Clone for IdentityServiceResponseKind
impl Clone for IdentityServiceResponseKind
Source§fn clone(&self) -> IdentityServiceResponseKind
fn clone(&self) -> IdentityServiceResponseKind
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 IdentityServiceResponseKind
impl RefUnwindSafe for IdentityServiceResponseKind
impl Send for IdentityServiceResponseKind
impl Sync for IdentityServiceResponseKind
impl Unpin for IdentityServiceResponseKind
impl UnwindSafe for IdentityServiceResponseKind
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