pub struct CardanoTransactionProofMessage {
pub certificate_hash: String,
pub certified_transactions: Vec<CardanoTransactionProofMessageCertifiedTransactionsInner>,
pub non_certified_transactions: Vec<String>,
pub latest_block_number: i64,
}Expand description
CardanoTransactionProofMessage : This message represents proofs for Cardano Transactions.
Fields§
§certificate_hash: StringHash of the certificate that validate the merkle root of this proof
certified_transactions: Vec<CardanoTransactionProofMessageCertifiedTransactionsInner>Proofs for certified Cardano transactions
non_certified_transactions: Vec<String>§latest_block_number: i64Last block number
Implementations§
Source§impl CardanoTransactionProofMessage
impl CardanoTransactionProofMessage
Sourcepub fn new(
certificate_hash: String,
certified_transactions: Vec<CardanoTransactionProofMessageCertifiedTransactionsInner>,
non_certified_transactions: Vec<String>,
latest_block_number: i64,
) -> CardanoTransactionProofMessage
pub fn new( certificate_hash: String, certified_transactions: Vec<CardanoTransactionProofMessageCertifiedTransactionsInner>, non_certified_transactions: Vec<String>, latest_block_number: i64, ) -> CardanoTransactionProofMessage
This message represents proofs for Cardano Transactions.
Trait Implementations§
Source§impl Clone for CardanoTransactionProofMessage
impl Clone for CardanoTransactionProofMessage
Source§fn clone(&self) -> CardanoTransactionProofMessage
fn clone(&self) -> CardanoTransactionProofMessage
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 Default for CardanoTransactionProofMessage
impl Default for CardanoTransactionProofMessage
Source§fn default() -> CardanoTransactionProofMessage
fn default() -> CardanoTransactionProofMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CardanoTransactionProofMessage
impl<'de> Deserialize<'de> for CardanoTransactionProofMessage
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 CardanoTransactionProofMessage
impl PartialEq for CardanoTransactionProofMessage
Source§fn eq(&self, other: &CardanoTransactionProofMessage) -> bool
fn eq(&self, other: &CardanoTransactionProofMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CardanoTransactionProofMessage
Auto Trait Implementations§
impl Freeze for CardanoTransactionProofMessage
impl RefUnwindSafe for CardanoTransactionProofMessage
impl Send for CardanoTransactionProofMessage
impl Sync for CardanoTransactionProofMessage
impl Unpin for CardanoTransactionProofMessage
impl UnwindSafe for CardanoTransactionProofMessage
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