pub struct Assertion {
pub key: String,
pub value: String,
pub tokens: Vec<String>,
pub policy: LinkedHashSet<Vec<String>>,
pub rm: Arc<RwLock<dyn RoleManager>>,
}
Fields§
§key: String
§value: String
§tokens: Vec<String>
§policy: LinkedHashSet<Vec<String>>
§rm: Arc<RwLock<dyn RoleManager>>
Implementations§
Source§impl Assertion
impl Assertion
pub fn get_policy(&self) -> &LinkedHashSet<Vec<String>>
pub fn get_mut_policy(&mut self) -> &mut LinkedHashSet<Vec<String>>
pub fn build_role_links( &mut self, rm: Arc<RwLock<dyn RoleManager>>, ) -> Result<()>
pub fn build_incremental_role_links( &mut self, rm: Arc<RwLock<dyn RoleManager>>, d: EventData, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Assertion
impl !RefUnwindSafe for Assertion
impl Send for Assertion
impl Sync for Assertion
impl Unpin for Assertion
impl !UnwindSafe for Assertion
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