pub struct AclPlan {
pub base: String,
pub default_permission: AclPermission,
pub registry: Asked<AclRegistryFacts>,
pub rules: Vec<AclRule>,
pub subjects: Vec<AclSubject>,
pub policies: Vec<AclPolicy>,
pub warnings: Vec<AclWarning>,
pub refusals: Vec<AclRefusal>,
}Expand description
zenctl acl gen: the access_control block, with every rule carrying
the matrix row it instantiates and the fact it exists for.
Fields§
§base: StringThe base every key expression below was composed under.
default_permission: AclPermissionAlways deny — the recipe has no allow-by-default form (RFC 09 §3
fact 4).
registry: Asked<AclRegistryFacts>What the registry said, when one was asked. Absent when none
was: the planes are then what the enrollment claims and the write set
is the convention’s set leaf, unnarrowed (RFC 13 §3 O4).
rules: Vec<AclRule>§subjects: Vec<AclSubject>§policies: Vec<AclPolicy>§warnings: Vec<AclWarning>§refusals: Vec<AclRefusal>Principals the plan left out, and why. A refused principal is
omitted from subjects and policies and named here — the plan
is still emitted around it, and the verb exits 1 for it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AclPlan
impl RefUnwindSafe for AclPlan
impl Send for AclPlan
impl Sync for AclPlan
impl Unpin for AclPlan
impl UnsafeUnpin for AclPlan
impl UnwindSafe for AclPlan
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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