struct ClientIndex {
by_client: HashMap<String, Vec<PolicyId>>,
any_client: Vec<PolicyId>,
}Expand description
The index for a subject keyed on its client alone: a grant or a token.
Fields§
§by_client: HashMap<String, Vec<PolicyId>>§any_client: Vec<PolicyId>Implementations§
Trait Implementations§
Source§impl Debug for ClientIndex
impl Debug for ClientIndex
Source§impl Default for ClientIndex
impl Default for ClientIndex
Source§fn default() -> ClientIndex
fn default() -> ClientIndex
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientIndex
impl RefUnwindSafe for ClientIndex
impl Send for ClientIndex
impl Sync for ClientIndex
impl Unpin for ClientIndex
impl UnsafeUnpin for ClientIndex
impl UnwindSafe for ClientIndex
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