pub struct PinnedVotingKeyBuilder { /* private fields */ }
Expand description
Pinned voting key.
Implementations§
Source§impl PinnedVotingKeyBuilder
impl PinnedVotingKeyBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of PinnedVotingKeyBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A PinnedVotingKeyBuilder.
Sourcepub fn get_voting_key(&self) -> VotingKeyDto
pub fn get_voting_key(&self) -> VotingKeyDto
Sourcepub fn get_start_epoch(&self) -> FinalizationEpochDto
pub fn get_start_epoch(&self) -> FinalizationEpochDto
Sourcepub fn get_end_epoch(&self) -> FinalizationEpochDto
pub fn get_end_epoch(&self) -> FinalizationEpochDto
Trait Implementations§
Source§impl Clone for PinnedVotingKeyBuilder
impl Clone for PinnedVotingKeyBuilder
Source§fn clone(&self) -> PinnedVotingKeyBuilder
fn clone(&self) -> PinnedVotingKeyBuilder
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 PinnedVotingKeyBuilder
impl RefUnwindSafe for PinnedVotingKeyBuilder
impl Send for PinnedVotingKeyBuilder
impl Sync for PinnedVotingKeyBuilder
impl Unpin for PinnedVotingKeyBuilder
impl UnwindSafe for PinnedVotingKeyBuilder
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