pub struct EventProof {
pub tx_digest: [u8; 32],
pub event_index: u64,
pub expected_hash: [u8; 32],
}Expand description
Event proof for verifying commitment events in transactions.
Fields§
§tx_digest: [u8; 32]Transaction digest containing the event
event_index: u64Event index within the transaction
expected_hash: [u8; 32]Expected event data hash
Implementations§
Trait Implementations§
Source§impl Clone for EventProof
impl Clone for EventProof
Source§fn clone(&self) -> EventProof
fn clone(&self) -> EventProof
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 EventProof
impl Debug for EventProof
Source§impl<'de> Deserialize<'de> for EventProof
impl<'de> Deserialize<'de> for EventProof
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
Auto Trait Implementations§
impl Freeze for EventProof
impl RefUnwindSafe for EventProof
impl Send for EventProof
impl Sync for EventProof
impl Unpin for EventProof
impl UnsafeUnpin for EventProof
impl UnwindSafe for EventProof
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