pub enum AccountSelector {
Account(Account),
Auto,
Invalid {
source: String,
reason: String,
},
}Expand description
What a caller asks for when no explicit account is given.
Variants§
Account(Account)
Auto
Opt-in automatic selection (G5). Resolved through the broker’s installed capacity selector; fails closed when none is installed.
Invalid
A configured selector that failed validation. Kept in the policy so
resolution FAILS CLOSED instead of silently using another account.
reason is secret-free (grammar message + config/env source).
Implementations§
Trait Implementations§
Source§impl Clone for AccountSelector
impl Clone for AccountSelector
Source§impl Debug for AccountSelector
impl Debug for AccountSelector
impl Eq for AccountSelector
Source§impl PartialEq for AccountSelector
impl PartialEq for AccountSelector
impl StructuralPartialEq for AccountSelector
Auto Trait Implementations§
impl Freeze for AccountSelector
impl RefUnwindSafe for AccountSelector
impl Send for AccountSelector
impl Sync for AccountSelector
impl Unpin for AccountSelector
impl UnsafeUnpin for AccountSelector
impl UnwindSafe for AccountSelector
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,
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
Compare self to
key and return true if they are equal.