#[non_exhaustive]pub enum AccountManagementActionFull {
Profile,
SessionsList,
SessionView {
device_id: OwnedDeviceId,
},
SessionEnd {
device_id: OwnedDeviceId,
},
AccountDeactivate,
CrossSigningReset,
}
Expand description
An account management action that a user can take, including a device ID for the actions that support it.
The actions are defined in MSC4191.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
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.
Fields
device_id: OwnedDeviceId
The ID of the session to view the details of.
SessionEnd
org.matrix.session_end
The user wishes to end/log out of a specific session.
Fields
device_id: OwnedDeviceId
The ID of the session to end.
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.
Implementations§
Source§impl AccountManagementActionFull
impl AccountManagementActionFull
Sourcepub fn action_type(&self) -> AccountManagementAction
pub fn action_type(&self) -> AccountManagementAction
Get the AccountManagementAction
matching this
AccountManagementActionFull
.
Trait Implementations§
Source§impl Clone for AccountManagementActionFull
impl Clone for AccountManagementActionFull
Source§fn clone(&self) -> AccountManagementActionFull
fn clone(&self) -> AccountManagementActionFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AccountManagementActionFull
impl Debug for AccountManagementActionFull
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
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
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Arc<>
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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