Struct jormungandr_automation::jcli::services::certificate_builder::SignedStakePoolCertBuilder
source · pub struct SignedStakePoolCertBuilder {
jcli: JCli,
pool_kes_pk: String,
pool_vrf_pk: String,
stake_key_file: PathBuf,
start_validity: u32,
management_threshold: u32,
owner_pk: String,
tax_type: Option<TaxType>,
}
Fields§
§jcli: JCli
§pool_kes_pk: String
§pool_vrf_pk: String
§stake_key_file: PathBuf
§start_validity: u32
§management_threshold: u32
§owner_pk: String
§tax_type: Option<TaxType>
Implementations§
source§impl SignedStakePoolCertBuilder
impl SignedStakePoolCertBuilder
pub fn new(jcli: JCli) -> Self
pub fn pool_kes_pk<S: Into<String>>(&mut self, pool_kes_pk: S) -> &mut Self
pub fn pool_vrf_pk<S: Into<String>>(&mut self, pool_vrf_pk: S) -> &mut Self
pub fn owner_pk<S: Into<String>>(&mut self, owner_pk: S) -> &mut Self
pub fn stake_key_file<P: AsRef<Path>>(&mut self, stake_key_file: P) -> &mut Self
pub fn start_validity(&mut self, start_validity: u32) -> &mut Self
pub fn management_threshold(&mut self, management_threshold: u32) -> &mut Self
pub fn tax_type(&mut self, tax_type: TaxType) -> &mut Self
pub fn build(self)
Auto Trait Implementations§
impl RefUnwindSafe for SignedStakePoolCertBuilder
impl Send for SignedStakePoolCertBuilder
impl Sync for SignedStakePoolCertBuilder
impl Unpin for SignedStakePoolCertBuilder
impl UnwindSafe for SignedStakePoolCertBuilder
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