Struct grid_sdk::protocol::track_and_trace::state::ProposalList
source · [−]pub struct ProposalList { /* private fields */ }
Expand description
Native representation of a list of Proposal
s
Implementations
sourceimpl ProposalList
impl ProposalList
pub fn proposals(&self) -> &[Proposal]
pub fn into_builder(self) -> ProposalListBuilder
Trait Implementations
sourceimpl Clone for ProposalList
impl Clone for ProposalList
sourcefn clone(&self) -> ProposalList
fn clone(&self) -> ProposalList
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ProposalList
impl Debug for ProposalList
sourceimpl FromBytes<ProposalList> for ProposalList
impl FromBytes<ProposalList> for ProposalList
fn from_bytes(bytes: &[u8]) -> Result<ProposalList, ProtoConversionError>
sourceimpl FromNative<ProposalList> for ProposalList
impl FromNative<ProposalList> for ProposalList
fn from_native(native: ProposalList) -> Result<Self, ProtoConversionError>
sourceimpl FromProto<ProposalList> for ProposalList
impl FromProto<ProposalList> for ProposalList
fn from_proto(proto: ProposalList) -> Result<Self, ProtoConversionError>
sourceimpl IntoBytes for ProposalList
impl IntoBytes for ProposalList
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
sourceimpl IntoNative<ProposalList> for ProposalList
impl IntoNative<ProposalList> for ProposalList
fn into_native(self) -> Result<T, ProtoConversionError>
sourceimpl IntoProto<ProposalList> for ProposalList
impl IntoProto<ProposalList> for ProposalList
fn into_proto(self) -> Result<T, ProtoConversionError>
sourceimpl PartialEq<ProposalList> for ProposalList
impl PartialEq<ProposalList> for ProposalList
sourcefn eq(&self, other: &ProposalList) -> bool
fn eq(&self, other: &ProposalList) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProposalList) -> bool
fn ne(&self, other: &ProposalList) -> bool
This method tests for !=
.
impl StructuralPartialEq for ProposalList
Auto Trait Implementations
impl RefUnwindSafe for ProposalList
impl Send for ProposalList
impl Sync for ProposalList
impl Unpin for ProposalList
impl UnwindSafe for ProposalList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more