Struct jormungandr_automation::jcli::command::certificate::CertificateCommand
source · pub struct CertificateCommand {
command: Command,
}
Fields§
§command: Command
Implementations§
source§impl CertificateCommand
impl CertificateCommand
pub fn new(command: Command) -> Self
pub fn new_stake_delegation<S: Into<String>, Q: Into<String>>( self, stake_pool_id: S, delegation_id: Q ) -> Self
pub fn retire<S: Into<String>>( self, stake_pool_id: S, retirement_time: u64 ) -> Self
pub fn vote<P: AsRef<Path>>(self, proposal_file: P) -> Self
pub fn public_vote_tally<S: Into<String>>(self, vote_plan_id: S) -> Self
pub fn private_vote_tally<P: AsRef<Path>, S: Into<String>, Q: AsRef<Path>>( self, vote_plan: P, vote_plan_id: S, shares: Q ) -> Self
pub fn public_vote_cast( self, vote_plan_id: String, proposal_idx: usize, choice: u8 ) -> Self
pub fn private_vote_cast<P: AsRef<Path>>( self, choice: u8, options_size: usize, proposal_idx: usize, vote_plan_id: String, election_key_path: P ) -> Self
pub fn stake_pool_registration<S: Into<String>, Q: Into<String>, R: Into<String>>( self, kes_key: S, vrf_key: Q, start_validity: u32, management_threshold: u32, owner_pk: R, tax_type: Option<TaxType> ) -> Self
pub fn update_proposal<P: Into<String>, S: AsRef<Path>>( self, proposer_id: P, config: S ) -> Self
pub fn update_vote<P: Into<String>, S: Into<String>>( self, proposal_id: P, voter_id: S ) -> Self
pub fn stake_pool_id<P: AsRef<Path>, Q: AsRef<Path>>( self, input_file: P, output_file: Q ) -> Self
pub fn vote_plan_id<P: AsRef<Path>, Q: AsRef<Path>>( self, input_file: P, output_file: Q ) -> Self
pub fn sign<P: AsRef<Path>, Q: AsRef<Path>, R: AsRef<Path>>( self, signing_key: P, input_file: Q, output_file: R ) -> Self
pub fn build(self) -> Command
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CertificateCommand
impl Send for CertificateCommand
impl Sync for CertificateCommand
impl Unpin for CertificateCommand
impl !UnwindSafe for CertificateCommand
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