Struct skar_format::Block 
source · pub struct Block<Tx> {
    pub header: BlockHeader,
    pub transactions: Vec<Tx>,
}Fields§
§header: BlockHeader§transactions: Vec<Tx>Trait Implementations§
source§impl<'de, Tx> Deserialize<'de> for Block<Tx>where
    Tx: Deserialize<'de>,
 
impl<'de, Tx> Deserialize<'de> for Block<Tx>where
    Tx: Deserialize<'de>,
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<Tx: PartialEq> PartialEq for Block<Tx>
 
impl<Tx: PartialEq> PartialEq for Block<Tx>
impl<Tx: Eq> Eq for Block<Tx>
impl<Tx> StructuralEq for Block<Tx>
impl<Tx> StructuralPartialEq for Block<Tx>
Auto Trait Implementations§
impl<Tx> RefUnwindSafe for Block<Tx>where
    Tx: RefUnwindSafe,
impl<Tx> Send for Block<Tx>where
    Tx: Send,
impl<Tx> Sync for Block<Tx>where
    Tx: Sync,
impl<Tx> Unpin for Block<Tx>where
    Tx: Unpin,
impl<Tx> UnwindSafe for Block<Tx>where
    Tx: UnwindSafe,
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