pub struct BlockSubjects {
pub posture: Posture,
pub subjects: Vec<BlockSubject>,
pub policies: Vec<BlockPolicy>,
}Expand description
A block’s posture, every subject it defines and every policy’s subject list, when they were read.
Fields§
§posture: Posture§subjects: Vec<BlockSubject>§policies: Vec<BlockPolicy>Trait Implementations§
Source§impl Clone for BlockSubjects
impl Clone for BlockSubjects
Source§impl Debug for BlockSubjects
impl Debug for BlockSubjects
impl Eq for BlockSubjects
Source§impl PartialEq for BlockSubjects
impl PartialEq for BlockSubjects
impl StructuralPartialEq for BlockSubjects
Auto Trait Implementations§
impl Forget for BlockSubjects
impl Freeze for BlockSubjectswhere
*const u8 is !null: Freeze,
PhantomData<BlockSubject>: Freeze,
PhantomData<BlockPolicy>: Freeze,
impl Move for BlockSubjects
impl RefUnwindSafe for BlockSubjects
impl Send for BlockSubjectswhere
RawVecInner: Send,
impl Sync for BlockSubjectswhere
RawVecInner: Sync,
impl Unpin for BlockSubjects
impl UnsafeUnpin for BlockSubjectswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<BlockSubject>: UnsafeUnpin,
PhantomData<BlockPolicy>: UnsafeUnpin,
impl UnwindSafe for BlockSubjectswhere
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