pub struct GetBlockTemplateOptions {
pub mode: GetBlockTemplateModes,
pub rules: Vec<GetBlockTemplateRules>,
pub capabilities: Vec<GetBlockTemplateCapabilities>,
}
Expand description
Models the request options of “getblocktemplate”
Fields
mode: GetBlockTemplateModes
rules: Vec<GetBlockTemplateRules>
capabilities: Vec<GetBlockTemplateCapabilities>
List of client side supported features
Trait Implementations
sourceimpl Clone for GetBlockTemplateOptions
impl Clone for GetBlockTemplateOptions
sourcefn clone(&self) -> GetBlockTemplateOptions
fn clone(&self) -> GetBlockTemplateOptions
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 GetBlockTemplateOptions
impl Debug for GetBlockTemplateOptions
sourceimpl<'de> Deserialize<'de> for GetBlockTemplateOptions
impl<'de> Deserialize<'de> for GetBlockTemplateOptions
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<GetBlockTemplateOptions> for GetBlockTemplateOptions
impl PartialEq<GetBlockTemplateOptions> for GetBlockTemplateOptions
sourcefn eq(&self, other: &GetBlockTemplateOptions) -> bool
fn eq(&self, other: &GetBlockTemplateOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GetBlockTemplateOptions
impl Serialize for GetBlockTemplateOptions
impl Eq for GetBlockTemplateOptions
impl StructuralEq for GetBlockTemplateOptions
impl StructuralPartialEq for GetBlockTemplateOptions
Auto Trait Implementations
impl RefUnwindSafe for GetBlockTemplateOptions
impl Send for GetBlockTemplateOptions
impl Sync for GetBlockTemplateOptions
impl Unpin for GetBlockTemplateOptions
impl UnwindSafe for GetBlockTemplateOptions
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