pub struct TxHashSetNode {
pub hash: String,
}
Expand description
Wrapper around a list of txhashset nodes, so it can be presented properly via json
Fields§
§hash: String
Implementations§
Source§impl TxHashSetNode
impl TxHashSetNode
pub fn get_last_n_output(chain: &Chain, distance: u64) -> Vec<TxHashSetNode>
pub fn get_last_n_rangeproof(chain: &Chain, distance: u64) -> Vec<TxHashSetNode>
pub fn get_last_n_kernel(chain: &Chain, distance: u64) -> Vec<TxHashSetNode>
Trait Implementations§
Source§impl Clone for TxHashSetNode
impl Clone for TxHashSetNode
Source§fn clone(&self) -> TxHashSetNode
fn clone(&self) -> TxHashSetNode
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 TxHashSetNode
impl Debug for TxHashSetNode
Source§impl<'de> Deserialize<'de> for TxHashSetNode
impl<'de> Deserialize<'de> for TxHashSetNode
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
Auto Trait Implementations§
impl Freeze for TxHashSetNode
impl RefUnwindSafe for TxHashSetNode
impl Send for TxHashSetNode
impl Sync for TxHashSetNode
impl Unpin for TxHashSetNode
impl UnwindSafe for TxHashSetNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
Source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
Source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.