pub struct EventExistenceProof {
pub event_hash: String,
pub prev_hash: String,
pub next_hash: Option<String>,
pub position: i32,
pub chain_length: i32,
}Expand description
Proves a specific event exists in the chain.
Fields§
§event_hash: String§prev_hash: String§next_hash: Option<String>§position: i32§chain_length: i32Trait Implementations§
Source§impl Clone for EventExistenceProof
impl Clone for EventExistenceProof
Source§fn clone(&self) -> EventExistenceProof
fn clone(&self) -> EventExistenceProof
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 EventExistenceProof
impl Debug for EventExistenceProof
Source§impl<'de> Deserialize<'de> for EventExistenceProof
impl<'de> Deserialize<'de> for EventExistenceProof
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 EventExistenceProof
impl RefUnwindSafe for EventExistenceProof
impl Send for EventExistenceProof
impl Sync for EventExistenceProof
impl Unpin for EventExistenceProof
impl UnsafeUnpin for EventExistenceProof
impl UnwindSafe for EventExistenceProof
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