pub struct ListProposalResults {
pub items: Vec<(ProposalKey, Proposal)>,
pub items_length: usize,
pub matches_length: usize,
}Fields§
§items: Vec<(ProposalKey, Proposal)>§items_length: usize§matches_length: usizeTrait Implementations§
Source§impl CandidType for ListProposalResults
impl CandidType for ListProposalResults
Source§impl Clone for ListProposalResults
impl Clone for ListProposalResults
Source§fn clone(&self) -> ListProposalResults
fn clone(&self) -> ListProposalResults
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ListProposalResults
impl Default for ListProposalResults
Source§fn default() -> ListProposalResults
fn default() -> ListProposalResults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListProposalResults
impl<'de> Deserialize<'de> for ListProposalResults
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
Auto Trait Implementations§
impl Freeze for ListProposalResults
impl RefUnwindSafe for ListProposalResults
impl Send for ListProposalResults
impl Sync for ListProposalResults
impl Unpin for ListProposalResults
impl UnwindSafe for ListProposalResults
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