pub enum Role {
Base {
request_only: bool,
},
Facet,
}Expand description
What a profile predicate is for.
Variants§
Base
A supplied base fact. Request-only facts are peer advertisement claims,
reachable only from SelectAdvertisedCandidate/1.
Facet
An exported facet: a source rule head, never referenced in a body.
Trait Implementations§
impl Copy for Role
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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