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