#[non_exhaustive]pub enum AccountManagementActionData<'a> {
Profile,
DevicesList,
DeviceView(DeviceViewData<'a>),
DeviceDelete(DeviceDeleteData<'a>),
AccountDeactivate,
CrossSigningReset,
}Available on crate feature
api and (crate features client-api-c or client-api-s) and (crate features client or server) only.Expand description
The action that the user wishes to do at the account management URL with its associated data.
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
The user wishes to view or edit their profile (name, avatar, contact details).
DevicesList
The user wishes to view a list of their devices.
DeviceView(DeviceViewData<'a>)
The user wishes to view the details of a specific device.
DeviceDelete(DeviceDeleteData<'a>)
The user wishes to delete/log out a specific device.
AccountDeactivate
The user wishes to deactivate their account.
CrossSigningReset
The user wishes to reset their cross-signing keys.
Trait Implementations§
Source§impl<'a> Clone for AccountManagementActionData<'a>
impl<'a> Clone for AccountManagementActionData<'a>
Source§fn clone(&self) -> AccountManagementActionData<'a>
fn clone(&self) -> AccountManagementActionData<'a>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'a> Freeze for AccountManagementActionData<'a>
impl<'a> RefUnwindSafe for AccountManagementActionData<'a>
impl<'a> Send for AccountManagementActionData<'a>
impl<'a> Sync for AccountManagementActionData<'a>
impl<'a> Unpin for AccountManagementActionData<'a>
impl<'a> UnwindSafe for AccountManagementActionData<'a>
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,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more