Struct jormungandr_automation::jcli::command::votes::VotesCommand
source · pub struct VotesCommand {
command: Command,
}
Fields§
§command: Command
Implementations§
source§impl VotesCommand
impl VotesCommand
pub fn new(command: Command) -> Self
pub fn crs(self) -> CrsCommand
pub fn committee(self) -> CommitteeCommand
pub fn election_public_key<S: Into<String>, P: AsRef<Path>>( self, member_key: S, output_file: P ) -> Self
pub fn tally(self) -> TallyCommand
pub fn update_proposal<P: AsRef<Path>, Q: AsRef<Path>>( self, config: P, secret: Q ) -> Self
pub fn update_vote<R: Into<String>, P: AsRef<Path>>( self, proposal_id: R, secret: P ) -> Self
pub fn build(self) -> Command
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for VotesCommand
impl Send for VotesCommand
impl Sync for VotesCommand
impl Unpin for VotesCommand
impl !UnwindSafe for VotesCommand
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