pub struct SignedBlock {
pub header: SignedBlockHeader,
pub transactions: Vec<Transaction>,
pub signed_transactions: Vec<SignedTransaction>,
pub block_id: Option<String>,
pub signing_key: Option<String>,
pub transaction_ids: Vec<String>,
}Fields§
§header: SignedBlockHeader§transactions: Vec<Transaction>§signed_transactions: Vec<SignedTransaction>§block_id: Option<String>§signing_key: Option<String>§transaction_ids: Vec<String>Trait Implementations§
Source§impl Clone for SignedBlock
impl Clone for SignedBlock
Source§fn clone(&self) -> SignedBlock
fn clone(&self) -> SignedBlock
Returns a duplicate 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 SignedBlock
impl Debug for SignedBlock
Source§impl Default for SignedBlock
impl Default for SignedBlock
Source§fn default() -> SignedBlock
fn default() -> SignedBlock
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignedBlock
impl<'de> Deserialize<'de> for SignedBlock
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 SignedBlock
impl PartialEq for SignedBlock
Source§impl Serialize for SignedBlock
impl Serialize for SignedBlock
impl StructuralPartialEq for SignedBlock
Auto Trait Implementations§
impl Freeze for SignedBlock
impl RefUnwindSafe for SignedBlock
impl Send for SignedBlock
impl Sync for SignedBlock
impl Unpin for SignedBlock
impl UnsafeUnpin for SignedBlock
impl UnwindSafe for SignedBlock
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