pub struct ProposalEnvelope {
pub schema_version: u32,
pub original_hash: String,
pub proposed_hash: String,
pub kind: String,
pub rationale: String,
pub freshness_at_proposal: ContextFreshness,
pub impact_decision: ImpactDecision,
}Expand description
Closed-loop improvement proposal envelope (validate → adopt).
Fields§
§schema_version: u32§original_hash: String§proposed_hash: String§kind: String§rationale: String§freshness_at_proposal: ContextFreshness§impact_decision: ImpactDecisionTrait Implementations§
Source§impl Clone for ProposalEnvelope
impl Clone for ProposalEnvelope
Source§fn clone(&self) -> ProposalEnvelope
fn clone(&self) -> ProposalEnvelope
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 ProposalEnvelope
impl Debug for ProposalEnvelope
Source§impl<'de> Deserialize<'de> for ProposalEnvelope
impl<'de> Deserialize<'de> for ProposalEnvelope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProposalEnvelope
impl PartialEq for ProposalEnvelope
Source§fn eq(&self, other: &ProposalEnvelope) -> bool
fn eq(&self, other: &ProposalEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProposalEnvelope
impl Serialize for ProposalEnvelope
impl StructuralPartialEq for ProposalEnvelope
Auto Trait Implementations§
impl Freeze for ProposalEnvelope
impl RefUnwindSafe for ProposalEnvelope
impl Send for ProposalEnvelope
impl Sync for ProposalEnvelope
impl Unpin for ProposalEnvelope
impl UnsafeUnpin for ProposalEnvelope
impl UnwindSafe for ProposalEnvelope
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