pub enum GetBlockTemplateResultCapabilities {
Proposal,
}
Expand description
Enum to represent Bitcoin Core’s supported features for getblocktemplate
Variants
Proposal
Trait Implementations
sourceimpl Clone for GetBlockTemplateResultCapabilities
impl Clone for GetBlockTemplateResultCapabilities
sourcefn clone(&self) -> GetBlockTemplateResultCapabilities
fn clone(&self) -> GetBlockTemplateResultCapabilities
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<'de> Deserialize<'de> for GetBlockTemplateResultCapabilities
impl<'de> Deserialize<'de> for GetBlockTemplateResultCapabilities
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<GetBlockTemplateResultCapabilities> for GetBlockTemplateResultCapabilities
impl PartialEq<GetBlockTemplateResultCapabilities> for GetBlockTemplateResultCapabilities
sourcefn eq(&self, other: &GetBlockTemplateResultCapabilities) -> bool
fn eq(&self, other: &GetBlockTemplateResultCapabilities) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for GetBlockTemplateResultCapabilities
impl Eq for GetBlockTemplateResultCapabilities
impl StructuralEq for GetBlockTemplateResultCapabilities
impl StructuralPartialEq for GetBlockTemplateResultCapabilities
Auto Trait Implementations
impl RefUnwindSafe for GetBlockTemplateResultCapabilities
impl Send for GetBlockTemplateResultCapabilities
impl Sync for GetBlockTemplateResultCapabilities
impl Unpin for GetBlockTemplateResultCapabilities
impl UnwindSafe for GetBlockTemplateResultCapabilities
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