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
sourceimpl Clone for GetBlockTemplateModes
impl Clone for GetBlockTemplateModes
sourcefn clone(&self) -> GetBlockTemplateModes
fn clone(&self) -> GetBlockTemplateModes
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 GetBlockTemplateModes
impl Debug for GetBlockTemplateModes
sourceimpl<'de> Deserialize<'de> for GetBlockTemplateModes
impl<'de> Deserialize<'de> for GetBlockTemplateModes
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<GetBlockTemplateModes> for GetBlockTemplateModes
impl PartialEq<GetBlockTemplateModes> for GetBlockTemplateModes
sourcefn 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 ==
. Read more
sourceimpl Serialize for GetBlockTemplateModes
impl Serialize for GetBlockTemplateModes
impl Copy for GetBlockTemplateModes
impl Eq for GetBlockTemplateModes
impl StructuralEq for GetBlockTemplateModes
impl StructuralPartialEq for GetBlockTemplateModes
Auto Trait Implementations
impl RefUnwindSafe for GetBlockTemplateModes
impl Send for GetBlockTemplateModes
impl Sync for GetBlockTemplateModes
impl Unpin for GetBlockTemplateModes
impl UnwindSafe for GetBlockTemplateModes
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