pub enum CardanoCVoteRegistrationFormat {
CIP15 = 0,
CIP36 = 1,
}
Available on crate feature
cardano
only.Variants§
Trait Implementations§
source§impl Clone for CardanoCVoteRegistrationFormat
impl Clone for CardanoCVoteRegistrationFormat
source§fn clone(&self) -> CardanoCVoteRegistrationFormat
fn clone(&self) -> CardanoCVoteRegistrationFormat
Returns a copy 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 moresource§impl Enum for CardanoCVoteRegistrationFormat
impl Enum for CardanoCVoteRegistrationFormat
source§const NAME: &'static str = "CardanoCVoteRegistrationFormat"
const NAME: &'static str = "CardanoCVoteRegistrationFormat"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<CardanoCVoteRegistrationFormat>
fn from_i32(value: i32) -> Option<CardanoCVoteRegistrationFormat>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<CardanoCVoteRegistrationFormat>
fn from_str(str: &str) -> Option<CardanoCVoteRegistrationFormat>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [CardanoCVoteRegistrationFormat] = _
const VALUES: &'static [CardanoCVoteRegistrationFormat] = _
All enum values for enum type.
source§impl EnumFull for CardanoCVoteRegistrationFormat
impl EnumFull for CardanoCVoteRegistrationFormat
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl PartialEq for CardanoCVoteRegistrationFormat
impl PartialEq for CardanoCVoteRegistrationFormat
source§fn eq(&self, other: &CardanoCVoteRegistrationFormat) -> bool
fn eq(&self, other: &CardanoCVoteRegistrationFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CardanoCVoteRegistrationFormat
impl Eq for CardanoCVoteRegistrationFormat
impl StructuralPartialEq for CardanoCVoteRegistrationFormat
Auto Trait Implementations§
impl Freeze for CardanoCVoteRegistrationFormat
impl RefUnwindSafe for CardanoCVoteRegistrationFormat
impl Send for CardanoCVoteRegistrationFormat
impl Sync for CardanoCVoteRegistrationFormat
impl Unpin for CardanoCVoteRegistrationFormat
impl UnwindSafe for CardanoCVoteRegistrationFormat
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)