pub struct IrCampaign {
pub name: String,
pub ascend: Vec<String>,
pub reach: Vec<IrCampaignReach>,
pub guard: Vec<IrCampaignGuard>,
pub sacrifice: Vec<String>,
pub proposer_redacted: bool,
pub span: SourceSpan,
}Expand description
A lowered campaign declaration (improve design note §3): the named,
versioned partition of the gauge vector. metadata_only; consumed by
whip improve <name>.
Fields§
§name: String§ascend: Vec<String>§reach: Vec<IrCampaignReach>§guard: Vec<IrCampaignGuard>§sacrifice: Vec<String>§proposer_redacted: boolCampaign-attached stratified reflection (proposer redacted).
span: SourceSpanTrait Implementations§
Source§impl Clone for IrCampaign
impl Clone for IrCampaign
Source§fn clone(&self) -> IrCampaign
fn clone(&self) -> IrCampaign
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 IrCampaign
impl Debug for IrCampaign
impl Eq for IrCampaign
Source§impl PartialEq for IrCampaign
impl PartialEq for IrCampaign
impl StructuralPartialEq for IrCampaign
Auto Trait Implementations§
impl Freeze for IrCampaign
impl RefUnwindSafe for IrCampaign
impl Send for IrCampaign
impl Sync for IrCampaign
impl Unpin for IrCampaign
impl UnsafeUnpin for IrCampaign
impl UnwindSafe for IrCampaign
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