pub struct CompressedProofWithContextV2 {
pub compressed_proof: Option<Box<CompressedProof>>,
pub accounts: Vec<AccountProofInputs>,
pub addresses: Vec<AddressProofInputs>,
}
Fields§
§compressed_proof: Option<Box<CompressedProof>>
§accounts: Vec<AccountProofInputs>
§addresses: Vec<AddressProofInputs>
Implementations§
Source§impl CompressedProofWithContextV2
impl CompressedProofWithContextV2
pub fn new( accounts: Vec<AccountProofInputs>, addresses: Vec<AddressProofInputs>, ) -> CompressedProofWithContextV2
Trait Implementations§
Source§impl Clone for CompressedProofWithContextV2
impl Clone for CompressedProofWithContextV2
Source§fn clone(&self) -> CompressedProofWithContextV2
fn clone(&self) -> CompressedProofWithContextV2
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 CompressedProofWithContextV2
impl Debug for CompressedProofWithContextV2
Source§impl Default for CompressedProofWithContextV2
impl Default for CompressedProofWithContextV2
Source§fn default() -> CompressedProofWithContextV2
fn default() -> CompressedProofWithContextV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompressedProofWithContextV2
impl<'de> Deserialize<'de> for CompressedProofWithContextV2
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 CompressedProofWithContextV2
impl PartialEq for CompressedProofWithContextV2
Source§fn eq(&self, other: &CompressedProofWithContextV2) -> bool
fn eq(&self, other: &CompressedProofWithContextV2) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CompressedProofWithContextV2
Auto Trait Implementations§
impl Freeze for CompressedProofWithContextV2
impl RefUnwindSafe for CompressedProofWithContextV2
impl Send for CompressedProofWithContextV2
impl Sync for CompressedProofWithContextV2
impl Unpin for CompressedProofWithContextV2
impl UnwindSafe for CompressedProofWithContextV2
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