pub struct CampaignDecl {
pub name: Ident,
pub ascend: Vec<GaugeRef>,
pub reach: Vec<CampaignReach>,
pub guard: Vec<CampaignGuard>,
pub sacrifice: Vec<GaugeRef>,
pub proposer_redacted: bool,
pub span: SourceSpan,
}Expand description
campaign <name> { ascend … [reach …] [guard …] [sacrifice …] }
(improve design note §3): versioned, diffable objective intent at higher
ceremony than a CLI invocation — the partition of the gauge vector.
Unnamed gauges are guarded by default; guard widens a band, sacrifice
releases a gauge, reach sets a target that becomes a hard bound.
Fields§
§name: Ident§ascend: Vec<GaugeRef>§reach: Vec<CampaignReach>§guard: Vec<CampaignGuard>§sacrifice: Vec<GaugeRef>§proposer_redacted: boolproposer redacted: campaign-attached stratified reflection — the
proposer sees aggregates only, never scenario contents (leakage
policy, improve note §7; settled 2026-07-11).
span: SourceSpanTrait Implementations§
Source§impl Clone for CampaignDecl
impl Clone for CampaignDecl
Source§fn clone(&self) -> CampaignDecl
fn clone(&self) -> CampaignDecl
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 CampaignDecl
impl Debug for CampaignDecl
impl Eq for CampaignDecl
Source§impl PartialEq for CampaignDecl
impl PartialEq for CampaignDecl
impl StructuralPartialEq for CampaignDecl
Auto Trait Implementations§
impl Freeze for CampaignDecl
impl RefUnwindSafe for CampaignDecl
impl Send for CampaignDecl
impl Sync for CampaignDecl
impl Unpin for CampaignDecl
impl UnsafeUnpin for CampaignDecl
impl UnwindSafe for CampaignDecl
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