pub enum GetBlockTemplateRules {
SegWit,
Signet,
Csv,
Taproot,
}
Expand description
Enum to representing specific block rules that the requested template should support.
Variants
SegWit
Signet
Csv
Taproot
Trait Implementations
sourceimpl Clone for GetBlockTemplateRules
impl Clone for GetBlockTemplateRules
sourcefn clone(&self) -> GetBlockTemplateRules
fn clone(&self) -> GetBlockTemplateRules
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetBlockTemplateRules
impl Debug for GetBlockTemplateRules
sourceimpl<'de> Deserialize<'de> for GetBlockTemplateRules
impl<'de> Deserialize<'de> for GetBlockTemplateRules
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GetBlockTemplateRules> for GetBlockTemplateRules
impl PartialEq<GetBlockTemplateRules> for GetBlockTemplateRules
sourcefn eq(&self, other: &GetBlockTemplateRules) -> bool
fn eq(&self, other: &GetBlockTemplateRules) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GetBlockTemplateRules
impl Serialize for GetBlockTemplateRules
impl Copy for GetBlockTemplateRules
impl Eq for GetBlockTemplateRules
impl StructuralEq for GetBlockTemplateRules
impl StructuralPartialEq for GetBlockTemplateRules
Auto Trait Implementations
impl RefUnwindSafe for GetBlockTemplateRules
impl Send for GetBlockTemplateRules
impl Sync for GetBlockTemplateRules
impl Unpin for GetBlockTemplateRules
impl UnwindSafe for GetBlockTemplateRules
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more