pub struct ProofPayload {
pub proof: PotOProof,
pub signature: Vec<u8>,
}Expand description
Payload sent to the on-chain program.
Fields§
§proof: PotOProof§signature: Vec<u8>Trait Implementations§
Source§impl Clone for ProofPayload
impl Clone for ProofPayload
Source§fn clone(&self) -> ProofPayload
fn clone(&self) -> ProofPayload
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 ProofPayload
impl Debug for ProofPayload
Source§impl<'de> Deserialize<'de> for ProofPayload
impl<'de> Deserialize<'de> for ProofPayload
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 ProofPayload
impl RefUnwindSafe for ProofPayload
impl Send for ProofPayload
impl Sync for ProofPayload
impl Unpin for ProofPayload
impl UnsafeUnpin for ProofPayload
impl UnwindSafe for ProofPayload
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