pub enum GetBlockTemplateModes {
Template,
}
Expand description
Enum to represent client-side supported features.
Variants§
Template
Using this mode, the server build a block template and return it as response to the request. This is the default mode.
Trait Implementations§
source§impl Clone for GetBlockTemplateModes
impl Clone for GetBlockTemplateModes
source§fn clone(&self) -> GetBlockTemplateModes
fn clone(&self) -> GetBlockTemplateModes
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 GetBlockTemplateModes
impl Debug for GetBlockTemplateModes
source§impl<'de> Deserialize<'de> for GetBlockTemplateModes
impl<'de> Deserialize<'de> for GetBlockTemplateModes
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 GetBlockTemplateModes
impl PartialEq for GetBlockTemplateModes
source§fn eq(&self, other: &GetBlockTemplateModes) -> bool
fn eq(&self, other: &GetBlockTemplateModes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetBlockTemplateModes
impl Serialize for GetBlockTemplateModes
impl Copy for GetBlockTemplateModes
impl Eq for GetBlockTemplateModes
impl StructuralPartialEq for GetBlockTemplateModes
Auto Trait Implementations§
impl Freeze for GetBlockTemplateModes
impl RefUnwindSafe for GetBlockTemplateModes
impl Send for GetBlockTemplateModes
impl Sync for GetBlockTemplateModes
impl Unpin for GetBlockTemplateModes
impl UnwindSafe for GetBlockTemplateModes
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