pub struct ProjectedRule {
pub id: String,
pub revision: u64,
pub rfc: String,
pub level: String,
pub effective_status: String,
pub statement: String,
pub checker: Option<String>,
}Expand description
One rule as a projection renders it: the compact statement plus the labels the honest-blocking posture needs, normalized from either the live trusted manifest (planning) or the approved pin (sessions).
Fields§
§id: String§revision: u64§rfc: StringParent RFC id — part of the rule’s source label.
level: Stringmust / should (the pack contract’s canonical spellings).
effective_status: StringThe EFFECTIVE lifecycle at resolution time (approved / enforced).
statement: StringThe one-line normative statement — the only text that projects.
checker: Option<String>The rendered checker binding, when the rule carries one.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectedRule
impl Clone for ProjectedRule
Source§fn clone(&self) -> ProjectedRule
fn clone(&self) -> ProjectedRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectedRule
impl Debug for ProjectedRule
impl Eq for ProjectedRule
Source§impl PartialEq for ProjectedRule
impl PartialEq for ProjectedRule
impl StructuralPartialEq for ProjectedRule
Auto Trait Implementations§
impl Freeze for ProjectedRule
impl RefUnwindSafe for ProjectedRule
impl Send for ProjectedRule
impl Sync for ProjectedRule
impl Unpin for ProjectedRule
impl UnsafeUnpin for ProjectedRule
impl UnwindSafe for ProjectedRule
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