Struct clarity_repl::codec::StacksBlock
source · pub struct StacksBlock {
pub header: StacksBlockHeader,
pub txs: Vec<StacksTransaction>,
}Expand description
A block that contains blockchain-anchored data (corresponding to a LeaderBlockCommitOp)
Fields§
§header: StacksBlockHeader§txs: Vec<StacksTransaction>Trait Implementations§
source§impl Clone for StacksBlock
impl Clone for StacksBlock
source§fn clone(&self) -> StacksBlock
fn clone(&self) -> StacksBlock
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 StacksBlock
impl Debug for StacksBlock
source§impl<'de> Deserialize<'de> for StacksBlock
impl<'de> Deserialize<'de> for StacksBlock
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 StacksBlock
impl PartialEq for StacksBlock
source§fn eq(&self, other: &StacksBlock) -> bool
fn eq(&self, other: &StacksBlock) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for StacksBlock
impl Serialize for StacksBlock
impl StructuralPartialEq for StacksBlock
Auto Trait Implementations§
impl RefUnwindSafe for StacksBlock
impl Send for StacksBlock
impl Sync for StacksBlock
impl Unpin for StacksBlock
impl UnwindSafe for StacksBlock
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