pub struct BlockPolicy {
pub subjects: Vec<String>,
}Expand description
One policy of a router’s block, as read (§2.15, 0.4): the ids of the subjects it lists. Its rules are not read here: which policies list a subject is what the subject checks need.
Fields§
§subjects: Vec<String>Trait Implementations§
Source§impl Clone for BlockPolicy
impl Clone for BlockPolicy
Source§impl Debug for BlockPolicy
impl Debug for BlockPolicy
Source§impl Default for BlockPolicy
impl Default for BlockPolicy
impl Eq for BlockPolicy
Source§impl PartialEq for BlockPolicy
impl PartialEq for BlockPolicy
impl StructuralPartialEq for BlockPolicy
Auto Trait Implementations§
impl Forget for BlockPolicy
impl Freeze for BlockPolicy
impl Move for BlockPolicy
impl RefUnwindSafe for BlockPolicy
impl Send for BlockPolicywhere
RawVecInner: Send,
impl Sync for BlockPolicywhere
RawVecInner: Sync,
impl Unpin for BlockPolicy
impl UnsafeUnpin for BlockPolicy
impl UnwindSafe for BlockPolicywhere
RawVecInner: UnwindSafe,
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
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more