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