pub enum AccountChoice {
Current,
Id(u64),
Prompt(AccountPrompt),
}Variants§
Current
Whatever account the session is already on.
Id(u64)
A specific account id.
Prompt(AccountPrompt)
Decide once the accounts are known. Called with every account the user belongs to and the id of the current one, when the API reports it.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AccountChoice
impl !UnwindSafe for AccountChoice
impl Freeze for AccountChoice
impl Send for AccountChoice
impl Sync for AccountChoice
impl Unpin for AccountChoice
impl UnsafeUnpin for AccountChoice
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