Struct grid_sdk::protocol::track_and_trace::state::ProposalListBuilder
source · [−]pub struct ProposalListBuilder { /* private fields */ }
Expand description
Builder used to create a list of Proposal
s
Implementations
sourceimpl ProposalListBuilder
impl ProposalListBuilder
pub fn new() -> Self
pub fn with_proposals(self, value: Vec<Proposal>) -> Self
pub fn build(self) -> Result<ProposalList, BuilderError>
Trait Implementations
sourceimpl Debug for ProposalListBuilder
impl Debug for ProposalListBuilder
sourceimpl Default for ProposalListBuilder
impl Default for ProposalListBuilder
sourcefn default() -> ProposalListBuilder
fn default() -> ProposalListBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProposalListBuilder
impl Send for ProposalListBuilder
impl Sync for ProposalListBuilder
impl Unpin for ProposalListBuilder
impl UnwindSafe for ProposalListBuilder
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