pub struct ParsedPolicy {
pub rules: Vec<PolicyRule>,
pub allow_rules: Vec<AllowRule>,
pub layer_rules: Vec<LayerRule>,
}Expand description
The rule kinds parsed from a CANDOR_POLICY file.
Fields§
§rules: Vec<PolicyRule>§allow_rules: Vec<AllowRule>§layer_rules: Vec<LayerRule>Trait Implementations§
Source§impl Debug for ParsedPolicy
impl Debug for ParsedPolicy
Source§impl Default for ParsedPolicy
impl Default for ParsedPolicy
Source§fn default() -> ParsedPolicy
fn default() -> ParsedPolicy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParsedPolicy
impl RefUnwindSafe for ParsedPolicy
impl Send for ParsedPolicy
impl Sync for ParsedPolicy
impl Unpin for ParsedPolicy
impl UnsafeUnpin for ParsedPolicy
impl UnwindSafe for ParsedPolicy
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