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