pub struct NewProposal {
pub proposal_id: String,
pub source_scope: String,
pub kind: ProposalKind,
pub title: String,
pub summary: String,
pub payload_json: String,
pub origin: String,
pub provenance: ProposalProvenance,
pub confidence_basis_points: u16,
pub conflicts: Vec<NewProposalConflict>,
pub now_ms: u64,
}Expand description
New proposal to persist before manual approval.
Fields§
§proposal_id: String§source_scope: String§kind: ProposalKind§title: String§summary: String§payload_json: String§origin: String§provenance: ProposalProvenance§confidence_basis_points: u16§conflicts: Vec<NewProposalConflict>§now_ms: u64Trait Implementations§
Source§impl Clone for NewProposal
impl Clone for NewProposal
Source§fn clone(&self) -> NewProposal
fn clone(&self) -> NewProposal
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 NewProposal
impl Debug for NewProposal
impl Eq for NewProposal
Source§impl PartialEq for NewProposal
impl PartialEq for NewProposal
Source§fn eq(&self, other: &NewProposal) -> bool
fn eq(&self, other: &NewProposal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NewProposal
Auto Trait Implementations§
impl Freeze for NewProposal
impl RefUnwindSafe for NewProposal
impl Send for NewProposal
impl Sync for NewProposal
impl Unpin for NewProposal
impl UnsafeUnpin for NewProposal
impl UnwindSafe for NewProposal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.