pub struct VotingKeyLinkTransactionBodyBuilder {
pub linked_public_key: VotingKeyDto,
pub start_epoch: FinalizationEpochDto,
pub end_epoch: FinalizationEpochDto,
pub link_action: LinkActionDto,
}
Expand description
Binary layout for a voting key link transaction.
Fields§
§linked_public_key: VotingKeyDto
Linked public key.
start_epoch: FinalizationEpochDto
Start finalization epoch.
end_epoch: FinalizationEpochDto
End finalization epoch.
link_action: LinkActionDto
Link action.
Implementations§
Source§impl VotingKeyLinkTransactionBodyBuilder
impl VotingKeyLinkTransactionBodyBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of VotingKeyLinkTransactionBodyBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A VotingKeyLinkTransactionBodyBuilder.
Trait Implementations§
Source§impl Clone for VotingKeyLinkTransactionBodyBuilder
impl Clone for VotingKeyLinkTransactionBodyBuilder
Source§fn clone(&self) -> VotingKeyLinkTransactionBodyBuilder
fn clone(&self) -> VotingKeyLinkTransactionBodyBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VotingKeyLinkTransactionBodyBuilder
impl RefUnwindSafe for VotingKeyLinkTransactionBodyBuilder
impl Send for VotingKeyLinkTransactionBodyBuilder
impl Sync for VotingKeyLinkTransactionBodyBuilder
impl Unpin for VotingKeyLinkTransactionBodyBuilder
impl UnwindSafe for VotingKeyLinkTransactionBodyBuilder
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