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