pub struct AccountRoster {
pub provider: String,
pub accounts: Vec<RosterEntry>,
pub current: ServerLabel,
pub retries: AccountRetries,
}Expand description
The accounts an adapter can call as, in priority order, and the one
its next request goes out on. Answered once before a round opens
(crates/kernel/spec/AccountRecovery.lean §8-86), never per attempt.
Fields§
§provider: String§accounts: Vec<RosterEntry>The order is the priority.
current: ServerLabelThe account the next request goes out on.
retries: AccountRetriesHow many more times one account is asked before the next takes the request.
Trait Implementations§
Source§impl Clone for AccountRoster
impl Clone for AccountRoster
Source§impl Debug for AccountRoster
impl Debug for AccountRoster
impl Eq for AccountRoster
Source§impl PartialEq for AccountRoster
impl PartialEq for AccountRoster
impl StructuralPartialEq for AccountRoster
Auto Trait Implementations§
impl Freeze for AccountRoster
impl RefUnwindSafe for AccountRoster
impl Send for AccountRoster
impl Sync for AccountRoster
impl Unpin for AccountRoster
impl UnsafeUnpin for AccountRoster
impl UnwindSafe for AccountRoster
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