pub struct ProofOfDelivery {
pub version: u8,
pub scid: String,
pub shard_index: u32,
pub ts_unix_ms: u64,
pub signer_pubkey: [u8; 32],
pub sig: Vec<u8>,
pub leaf_hash: [u8; 32],
}
Fields§
§version: u8
§scid: String
§shard_index: u32
§ts_unix_ms: u64
§signer_pubkey: [u8; 32]
§sig: Vec<u8>
§leaf_hash: [u8; 32]
Implementations§
Trait Implementations§
Source§impl Clone for ProofOfDelivery
impl Clone for ProofOfDelivery
Source§fn clone(&self) -> ProofOfDelivery
fn clone(&self) -> ProofOfDelivery
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 ProofOfDelivery
impl Debug for ProofOfDelivery
Source§impl<'de> Deserialize<'de> for ProofOfDelivery
impl<'de> Deserialize<'de> for ProofOfDelivery
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 ProofOfDelivery
impl PartialEq for ProofOfDelivery
Source§impl Serialize for ProofOfDelivery
impl Serialize for ProofOfDelivery
impl Eq for ProofOfDelivery
impl StructuralPartialEq for ProofOfDelivery
Auto Trait Implementations§
impl Freeze for ProofOfDelivery
impl RefUnwindSafe for ProofOfDelivery
impl Send for ProofOfDelivery
impl Sync for ProofOfDelivery
impl Unpin for ProofOfDelivery
impl UnwindSafe for ProofOfDelivery
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