Struct stacks_rpc_client::clarity::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<StacksBlock, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<StacksBlock, <__D as Deserializer<'de>>::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
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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