pub struct ProposalPreview {Show 19 fields
pub proposal_id: String,
pub kind: String,
pub target: StateTarget,
pub reviewer: String,
pub changed_findings: Vec<String>,
pub changed_artifacts: Vec<String>,
pub new_event_ids: Vec<String>,
pub event_kinds: Vec<String>,
pub findings_before: usize,
pub findings_after: usize,
pub findings_delta: isize,
pub artifacts_before: usize,
pub artifacts_after: usize,
pub artifacts_delta: isize,
pub events_before: usize,
pub events_after: usize,
pub events_delta: isize,
pub proof_would_be_stale: bool,
pub applied_event_id: String,
}Fields§
§proposal_id: String§kind: String§target: StateTarget§reviewer: String§changed_findings: Vec<String>§changed_artifacts: Vec<String>§new_event_ids: Vec<String>§event_kinds: Vec<String>§findings_before: usize§findings_after: usize§findings_delta: isize§artifacts_before: usize§artifacts_after: usize§artifacts_delta: isize§events_before: usize§events_after: usize§events_delta: isize§proof_would_be_stale: bool§applied_event_id: StringTrait Implementations§
Source§impl Clone for ProposalPreview
impl Clone for ProposalPreview
Source§fn clone(&self) -> ProposalPreview
fn clone(&self) -> ProposalPreview
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 ProposalPreview
impl Debug for ProposalPreview
Source§impl<'de> Deserialize<'de> for ProposalPreview
impl<'de> Deserialize<'de> for ProposalPreview
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 ProposalPreview
impl PartialEq for ProposalPreview
Source§fn eq(&self, other: &ProposalPreview) -> bool
fn eq(&self, other: &ProposalPreview) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProposalPreview
impl Serialize for ProposalPreview
impl Eq for ProposalPreview
impl StructuralPartialEq for ProposalPreview
Auto Trait Implementations§
impl Freeze for ProposalPreview
impl RefUnwindSafe for ProposalPreview
impl Send for ProposalPreview
impl Sync for ProposalPreview
impl Unpin for ProposalPreview
impl UnsafeUnpin for ProposalPreview
impl UnwindSafe for ProposalPreview
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.