Struct jormungandr_automation::testing::vit::builder::ProposalsBuilder
source · pub struct ProposalsBuilder {
count: usize,
external_ids: Vec<ExternalProposalId>,
}
Fields§
§count: usize
§external_ids: Vec<ExternalProposalId>
Implementations§
source§impl ProposalsBuilder
impl ProposalsBuilder
pub fn with_count(self, count: usize) -> Self
pub fn with_ids(self, external_ids: Vec<ExternalProposalId>) -> Self
pub fn build(self, options_size: u8, action: VoteAction) -> Proposals
Trait Implementations§
source§impl Debug for ProposalsBuilder
impl Debug for ProposalsBuilder
source§impl Default for ProposalsBuilder
impl Default for ProposalsBuilder
source§fn default() -> ProposalsBuilder
fn default() -> ProposalsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProposalsBuilder
impl Send for ProposalsBuilder
impl Sync for ProposalsBuilder
impl Unpin for ProposalsBuilder
impl UnwindSafe for ProposalsBuilder
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request