pub enum LoginState {
SignIn,
SignUp,
Unrecognized(String),
}Expand description
Whether this is a sign-up or sign-in action for this account, i.e. whether this account has ever been used to sign in to this RP before.
Variants§
SignIn
SignIn
SignUp
SignUp
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for LoginState
impl Clone for LoginState
Source§impl Debug for LoginState
impl Debug for LoginState
Source§impl<'de> Deserialize<'de> for LoginState
impl<'de> Deserialize<'de> for LoginState
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
impl Eq for LoginState
Source§impl Hash for LoginState
impl Hash for LoginState
Source§impl PartialEq for LoginState
impl PartialEq for LoginState
Source§impl Serialize for LoginState
impl Serialize for LoginState
impl StructuralPartialEq for LoginState
Auto Trait Implementations§
impl Forget for LoginState
impl Freeze for LoginState
impl RefUnwindSafe for LoginState
impl Send for LoginState
impl Sync for LoginState
impl Unpin for LoginState
impl UnsafeUnpin for LoginState
impl UnwindSafe for LoginState
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