pub enum CardanoCertificateType {
STAKE_REGISTRATION = 0,
STAKE_DEREGISTRATION = 1,
STAKE_DELEGATION = 2,
STAKE_POOL_REGISTRATION = 3,
}
Available on crate feature
cardano
only.Variants§
Trait Implementations§
source§impl Clone for CardanoCertificateType
impl Clone for CardanoCertificateType
source§fn clone(&self) -> CardanoCertificateType
fn clone(&self) -> CardanoCertificateType
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 Debug for CardanoCertificateType
impl Debug for CardanoCertificateType
source§impl Default for CardanoCertificateType
impl Default for CardanoCertificateType
source§impl Enum for CardanoCertificateType
impl Enum for CardanoCertificateType
source§const NAME: &'static str = "CardanoCertificateType"
const NAME: &'static str = "CardanoCertificateType"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<CardanoCertificateType>
fn from_i32(value: i32) -> Option<CardanoCertificateType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<CardanoCertificateType>
fn from_str(str: &str) -> Option<CardanoCertificateType>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [CardanoCertificateType] = _
const VALUES: &'static [CardanoCertificateType] = _
All enum values for enum type.
source§impl EnumFull for CardanoCertificateType
impl EnumFull for CardanoCertificateType
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 Hash for CardanoCertificateType
impl Hash for CardanoCertificateType
source§impl PartialEq for CardanoCertificateType
impl PartialEq for CardanoCertificateType
source§fn eq(&self, other: &CardanoCertificateType) -> bool
fn eq(&self, other: &CardanoCertificateType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CardanoCertificateType
impl Eq for CardanoCertificateType
impl StructuralPartialEq for CardanoCertificateType
Auto Trait Implementations§
impl RefUnwindSafe for CardanoCertificateType
impl Send for CardanoCertificateType
impl Sync for CardanoCertificateType
impl Unpin for CardanoCertificateType
impl UnwindSafe for CardanoCertificateType
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