pub struct Policy {
pub project: Project,
pub commands: Commands,
pub paths: Paths,
pub roles: IndexMap<String, Role>,
pub constraints: Constraints,
pub outputs: OutputTargets,
}Expand description
The fully normalized, validated policy model.
All Options from the raw model are resolved to concrete values with
defaults applied. This is the type renderers and commands work with.
Fields§
§project: Project§commands: Commands§paths: Paths§roles: IndexMap<String, Role>Roles in declaration order (IndexMap preserves insertion order).
constraints: Constraints§outputs: OutputTargetsTrait Implementations§
Auto Trait Implementations§
impl Freeze for Policy
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnsafeUnpin for Policy
impl UnwindSafe for Policy
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