pub struct CompressedProofWithContextV2 {
pub accounts: Vec<AccountProofInputs>,
pub addresses: Vec<AddressProofInputs>,
pub compressed_proof: Option<CompressedProof>,
}Expand description
CompressedProofWithContextV2
JSON schema
{
"type": "object",
"required": [
"accounts",
"addresses"
],
"properties": {
"accounts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountProofInputs"
}
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AddressProofInputs"
}
},
"compressedProof": {
"$ref": "#/components/schemas/CompressedProof"
}
}
}Fields§
§accounts: Vec<AccountProofInputs>§addresses: Vec<AddressProofInputs>§compressed_proof: Option<CompressedProof>Implementations§
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<'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 From<CompressedProofWithContextV2> for CompressedProofWithContextV2
impl From<CompressedProofWithContextV2> for CompressedProofWithContextV2
Source§fn from(value: CompressedProofWithContextV2) -> Self
fn from(value: CompressedProofWithContextV2) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CompressedProofWithContextV2> for CompressedProofWithContextV2
impl TryFrom<CompressedProofWithContextV2> for CompressedProofWithContextV2
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: CompressedProofWithContextV2,
) -> Result<Self, ConversionError>
fn try_from( value: CompressedProofWithContextV2, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CompressedProofWithContextV2
impl RefUnwindSafe for CompressedProofWithContextV2
impl Send for CompressedProofWithContextV2
impl Sync for CompressedProofWithContextV2
impl Unpin for CompressedProofWithContextV2
impl UnsafeUnpin 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