Enum wallet_core::vote::PayloadTypeConfig
source · pub enum PayloadTypeConfig {
Public,
Private(ElectionPublicKey),
}
Variants§
Trait Implementations§
source§impl<'a> TryInto<PayloadTypeConfig> for ProposalPrivate<'a>
impl<'a> TryInto<PayloadTypeConfig> for ProposalPrivate<'a>
source§impl TryInto<PayloadTypeConfig> for ProposalPublic
impl TryInto<PayloadTypeConfig> for ProposalPublic
Auto Trait Implementations§
impl RefUnwindSafe for PayloadTypeConfig
impl Send for PayloadTypeConfig
impl Sync for PayloadTypeConfig
impl Unpin for PayloadTypeConfig
impl UnwindSafe for PayloadTypeConfig
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