pub enum GetBlockTemplateRules {
SegWit,
Signet,
Csv,
Taproot,
}
Expand description
Enum to representing specific block rules that the requested template should support.
Variants§
Trait Implementations§
source§impl Clone for GetBlockTemplateRules
impl Clone for GetBlockTemplateRules
source§fn clone(&self) -> GetBlockTemplateRules
fn clone(&self) -> GetBlockTemplateRules
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 GetBlockTemplateRules
impl Debug for GetBlockTemplateRules
source§impl<'de> Deserialize<'de> for GetBlockTemplateRules
impl<'de> Deserialize<'de> for GetBlockTemplateRules
source§fn 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
source§impl PartialEq for GetBlockTemplateRules
impl PartialEq for GetBlockTemplateRules
source§fn 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 ==
.source§impl Serialize for GetBlockTemplateRules
impl Serialize for GetBlockTemplateRules
impl Copy for GetBlockTemplateRules
impl Eq for GetBlockTemplateRules
impl StructuralPartialEq for GetBlockTemplateRules
Auto Trait Implementations§
impl Freeze for GetBlockTemplateRules
impl RefUnwindSafe for GetBlockTemplateRules
impl Send for GetBlockTemplateRules
impl Sync for GetBlockTemplateRules
impl Unpin for GetBlockTemplateRules
impl UnwindSafe for GetBlockTemplateRules
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