pub struct Principal {
pub identifier: PrincipalIdentifier,
pub description: PrincipalDescription,
pub principal_type: PrincipalType,
pub parent: Option<PrincipalIdentifier>,
}
Expand description
A Principal, that can use and claim memory.
Fields§
§identifier: PrincipalIdentifier
§description: 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§
Source§impl From<Principal> for Principal
Creates a new Principal from a fplugin::Principal object. The Principal object will
contain all the data from fplugin::Principal and have its other fields initialized empty.
impl From<Principal> for Principal
Creates a new Principal from a fplugin::Principal object. The Principal object will contain all the data from fplugin::Principal and have its other fields initialized empty.
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