#[non_exhaustive]pub struct ListProposalVotesInput {
pub network_id: Option<String>,
pub proposal_id: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.network_id: Option<String>
The unique identifier of the network.
proposal_id: Option<String>
The unique identifier of the proposal.
max_results: Option<i32>
The maximum number of votes to return.
next_token: Option<String>
The pagination token that indicates the next set of results to retrieve.
Implementations§
source§impl ListProposalVotesInput
impl ListProposalVotesInput
sourcepub fn network_id(&self) -> Option<&str>
pub fn network_id(&self) -> Option<&str>
The unique identifier of the network.
sourcepub fn proposal_id(&self) -> Option<&str>
pub fn proposal_id(&self) -> Option<&str>
The unique identifier of the proposal.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of votes to return.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The pagination token that indicates the next set of results to retrieve.
source§impl ListProposalVotesInput
impl ListProposalVotesInput
sourcepub fn builder() -> ListProposalVotesInputBuilder
pub fn builder() -> ListProposalVotesInputBuilder
Creates a new builder-style object to manufacture ListProposalVotesInput
.
Trait Implementations§
source§impl Clone for ListProposalVotesInput
impl Clone for ListProposalVotesInput
source§fn clone(&self) -> ListProposalVotesInput
fn clone(&self) -> ListProposalVotesInput
Returns a copy 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 Debug for ListProposalVotesInput
impl Debug for ListProposalVotesInput
source§impl PartialEq for ListProposalVotesInput
impl PartialEq for ListProposalVotesInput
source§fn eq(&self, other: &ListProposalVotesInput) -> bool
fn eq(&self, other: &ListProposalVotesInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProposalVotesInput
Auto Trait Implementations§
impl RefUnwindSafe for ListProposalVotesInput
impl Send for ListProposalVotesInput
impl Sync for ListProposalVotesInput
impl Unpin for ListProposalVotesInput
impl UnwindSafe for ListProposalVotesInput
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