pub struct FakeAccount {
pub subject: String,
pub email: Option<String>,
pub email_verified: bool,
pub name: Option<String>,
}Expand description
An account at a FakeProvider: what the ID token it issues says.
Fields§
§subject: StringThe provider’s id for the account (sub).
email: Option<String>The account’s address.
email_verified: boolWhether the provider says the account proved it reads the address.
name: Option<String>The account’s display name.
Implementations§
Trait Implementations§
Source§impl Clone for FakeAccount
impl Clone for FakeAccount
Source§impl Debug for FakeAccount
impl Debug for FakeAccount
impl Eq for FakeAccount
Source§impl PartialEq for FakeAccount
impl PartialEq for FakeAccount
impl StructuralPartialEq for FakeAccount
Auto Trait Implementations§
impl Forget for FakeAccount
impl Freeze for FakeAccount
impl Move for FakeAccount
impl RefUnwindSafe for FakeAccount
impl Send for FakeAccount
impl Sync for FakeAccount
impl Unpin for FakeAccount
impl UnsafeUnpin for FakeAccount
impl UnwindSafe for FakeAccount
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.