pub struct BoundRightClaim {
pub action: RightAction,
pub prefix: String,
pub chains: Vec<Vec<GrantId>>,
}Expand description
One right as the producer bound it.
Its action, the subject prefix it covers (empty for
RightAction::Connect) and every complete grant chain (leaf first) that
allows it. The right stays effective while any one chain has no revoked
grant.
Fields§
§action: RightActionThe action allowed.
prefix: StringThe subject prefix covered.
chains: Vec<Vec<GrantId>>Every independent chain allowing the right.
Trait Implementations§
Source§impl Clone for BoundRightClaim
impl Clone for BoundRightClaim
Source§impl Debug for BoundRightClaim
impl Debug for BoundRightClaim
impl Eq for BoundRightClaim
Source§impl PartialEq for BoundRightClaim
impl PartialEq for BoundRightClaim
impl StructuralPartialEq for BoundRightClaim
Auto Trait Implementations§
impl Freeze for BoundRightClaim
impl RefUnwindSafe for BoundRightClaim
impl Send for BoundRightClaim
impl Sync for BoundRightClaim
impl Unpin for BoundRightClaim
impl UnsafeUnpin for BoundRightClaim
impl UnwindSafe for BoundRightClaim
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.