pub struct Principal {
pub identifier: PrincipalIdentifier,
pub description: Option<PrincipalDescription>,
pub principal_type: PrincipalType,
pub parent: Option<PrincipalIdentifier>,
}Expand description
A Principal, that can use and claim memory.
Fields§
§identifier: PrincipalIdentifier§description: Option<PrincipalDescription>§principal_type: PrincipalType§parent: Option<PrincipalIdentifier>Principal that declared this Principal. None if this Principal is at the root of the system hierarchy (the root principal is a statically defined Principal encompassing all resources on the system). The Principal hierarchy forms a tree (no cycles).
Trait Implementations§
impl Eq for Principal
impl StructuralPartialEq for Principal
Auto Trait Implementations§
impl Freeze for Principal
impl RefUnwindSafe for Principal
impl Send for Principal
impl Sync for Principal
impl Unpin for Principal
impl UnwindSafe for Principal
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