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