#[non_exhaustive]pub enum ProfileUpdate {
Details,
Credentials,
}Expand description
What a ProfileEditor::save changed, which decides what happens to the user’s sessions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Details
Nothing the user signs in with: every session stays signed in.
Credentials
Something the user signs in with, such as a password: the user’s sessions and reset links end on every panel whose authenticator loads the same user type, in the transaction that saves, and the browser that saved gets a new session under the tenant it acted for.
Trait Implementations§
Source§impl Clone for ProfileUpdate
impl Clone for ProfileUpdate
impl Copy for ProfileUpdate
Source§impl Debug for ProfileUpdate
impl Debug for ProfileUpdate
impl Eq for ProfileUpdate
Source§impl PartialEq for ProfileUpdate
impl PartialEq for ProfileUpdate
impl StructuralPartialEq for ProfileUpdate
Auto Trait Implementations§
impl Forget for ProfileUpdate
impl Freeze for ProfileUpdate
impl RefUnwindSafe for ProfileUpdate
impl Send for ProfileUpdate
impl Sync for ProfileUpdate
impl Unpin for ProfileUpdate
impl UnsafeUnpin for ProfileUpdate
impl UnwindSafe for ProfileUpdate
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.