Struct algonaut_transaction::builder::RegisterKey
source · [−]pub struct RegisterKey { /* private fields */ }
Expand description
A builder for KeyRegistration.
Implementations
sourceimpl RegisterKey
impl RegisterKey
pub fn online(
sender: Address,
vote_pk: VotePk,
selection_pk: VrfPk,
vote_first: Round,
vote_last: Round,
vote_key_dilution: u64
) -> Self
pub fn offline(sender: Address) -> Self
pub fn nonpartipating(sender: Address, nonparticipating: bool) -> Self
pub fn build(self) -> TransactionType
Auto Trait Implementations
impl RefUnwindSafe for RegisterKey
impl Send for RegisterKey
impl Sync for RegisterKey
impl Unpin for RegisterKey
impl UnwindSafe for RegisterKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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