#[non_exhaustive]pub enum AccountManagementActionFull {
Profile,
SessionsList,
SessionView {
device_id: String,
},
SessionEnd {
device_id: String,
},
AccountDeactivate,
CrossSigningReset,
}
Expand description
An account management action that a user can take, including a device ID for the actions that support it.
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.
Profile
org.matrix.profile
The user wishes to view their profile (name, avatar, contact details).
SessionsList
org.matrix.sessions_list
The user wishes to view a list of their sessions.
SessionView
org.matrix.session_view
The user wishes to view the details of a specific session.
SessionEnd
org.matrix.session_end
The user wishes to end/log out of a specific session.
AccountDeactivate
org.matrix.account_deactivate
The user wishes to deactivate their account.
CrossSigningReset
org.matrix.cross_signing_reset
The user wishes to reset their cross-signing keys.
Trait Implementations§
source§impl Clone for AccountManagementActionFull
impl Clone for AccountManagementActionFull
source§fn clone(&self) -> AccountManagementActionFull
fn clone(&self) -> AccountManagementActionFull
Returns a copy 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 moresource§impl Debug for AccountManagementActionFull
impl Debug for AccountManagementActionFull
source§impl PartialEq for AccountManagementActionFull
impl PartialEq for AccountManagementActionFull
source§fn eq(&self, other: &AccountManagementActionFull) -> bool
fn eq(&self, other: &AccountManagementActionFull) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AccountManagementActionFull
impl StructuralPartialEq for AccountManagementActionFull
Auto Trait Implementations§
impl Freeze for AccountManagementActionFull
impl RefUnwindSafe for AccountManagementActionFull
impl Send for AccountManagementActionFull
impl Sync for AccountManagementActionFull
impl Unpin for AccountManagementActionFull
impl UnwindSafe for AccountManagementActionFull
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.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.source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more