#[non_exhaustive]pub struct ListProposalsOutput {
pub proposals: Option<Vec<ProposalSummary>>,
pub next_token: Option<String>,
/* private fields */
}
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.proposals: Option<Vec<ProposalSummary>>
The summary of each proposal made on the network.
next_token: Option<String>
The pagination token that indicates the next set of results to retrieve.
Implementations§
source§impl ListProposalsOutput
impl ListProposalsOutput
sourcepub fn proposals(&self) -> Option<&[ProposalSummary]>
pub fn proposals(&self) -> Option<&[ProposalSummary]>
The summary of each proposal made on the network.
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 ListProposalsOutput
impl ListProposalsOutput
sourcepub fn builder() -> ListProposalsOutputBuilder
pub fn builder() -> ListProposalsOutputBuilder
Creates a new builder-style object to manufacture ListProposalsOutput
.
Trait Implementations§
source§impl Clone for ListProposalsOutput
impl Clone for ListProposalsOutput
source§fn clone(&self) -> ListProposalsOutput
fn clone(&self) -> ListProposalsOutput
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 ListProposalsOutput
impl Debug for ListProposalsOutput
source§impl PartialEq for ListProposalsOutput
impl PartialEq for ListProposalsOutput
source§fn eq(&self, other: &ListProposalsOutput) -> bool
fn eq(&self, other: &ListProposalsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListProposalsOutput
impl RequestId for ListProposalsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for ListProposalsOutput
Auto Trait Implementations§
impl RefUnwindSafe for ListProposalsOutput
impl Send for ListProposalsOutput
impl Sync for ListProposalsOutput
impl Unpin for ListProposalsOutput
impl UnwindSafe for ListProposalsOutput
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