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