pub struct ProposalShowResponse {
pub metadata: ApiMetadata,
pub proposal: ProposalRecord,
pub conflicts: Vec<ProposalConflictRecord>,
pub payload: Value,
}Expand description
Proposal detail response with conflict lifecycle.
Fields§
§metadata: ApiMetadata§proposal: ProposalRecord§conflicts: Vec<ProposalConflictRecord>§payload: ValueTrait Implementations§
Source§impl Clone for ProposalShowResponse
impl Clone for ProposalShowResponse
Source§fn clone(&self) -> ProposalShowResponse
fn clone(&self) -> ProposalShowResponse
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 ProposalShowResponse
impl Debug for ProposalShowResponse
Source§impl<'de> Deserialize<'de> for ProposalShowResponse
impl<'de> Deserialize<'de> for ProposalShowResponse
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 ProposalShowResponse
impl PartialEq for ProposalShowResponse
Source§fn eq(&self, other: &ProposalShowResponse) -> bool
fn eq(&self, other: &ProposalShowResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProposalShowResponse
impl Serialize for ProposalShowResponse
impl Eq for ProposalShowResponse
impl StructuralPartialEq for ProposalShowResponse
Auto Trait Implementations§
impl Freeze for ProposalShowResponse
impl RefUnwindSafe for ProposalShowResponse
impl Send for ProposalShowResponse
impl Sync for ProposalShowResponse
impl Unpin for ProposalShowResponse
impl UnsafeUnpin for ProposalShowResponse
impl UnwindSafe for ProposalShowResponse
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