pub struct OpMatch {
pub base: String,
pub role: Option<LinearRole>,
}Expand description
2026-10-02: An op a policy entry names: a base name (linear is every role) or linear:<role>.
Fields§
§base: String2026-10-02: Base op name.
role: Option<LinearRole>2026-10-02: For linear:<role>, the role.
Trait Implementations§
Source§impl Ord for OpMatch
impl Ord for OpMatch
Source§impl PartialOrd for OpMatch
impl PartialOrd for OpMatch
impl Eq for OpMatch
impl StructuralPartialEq for OpMatch
Auto Trait Implementations§
impl Freeze for OpMatch
impl RefUnwindSafe for OpMatch
impl Send for OpMatch
impl Sync for OpMatch
impl Unpin for OpMatch
impl UnwindSafe for OpMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.