pub struct SupersededKey {
pub account_id: u64,
pub key_name: String,
}Expand description
How the account to mint for is decided.
AccountChoice::Prompt exists because a picker cannot run before the exchange: listing the
accounts needs a session, and re-logging-in to act on the answer would mean a second sign-in
(and a second MFA challenge). The callback is invoked mid-exchange instead, on the one session.
A key a switch is about to replace, revoked on the same session once its successor exists.
Fields§
§account_id: u64§key_name: StringAuto Trait Implementations§
impl Freeze for SupersededKey
impl RefUnwindSafe for SupersededKey
impl Send for SupersededKey
impl Sync for SupersededKey
impl Unpin for SupersededKey
impl UnsafeUnpin for SupersededKey
impl UnwindSafe for SupersededKey
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