pub struct GetCompressedAccountProofResponseValueV2 {
pub hash: Hash,
pub leaf_index: u32,
pub proof: Vec<Hash>,
pub prove_by_index: bool,
pub root: Hash,
pub root_seq: u64,
pub tree_context: TreeContextInfo,
}Expand description
GetCompressedAccountProofResponseValueV2
JSON schema
{
"type": "object",
"required": [
"hash",
"leafIndex",
"proof",
"proveByIndex",
"root",
"rootSeq",
"treeContext"
],
"properties": {
"hash": {
"$ref": "#/components/schemas/Hash"
},
"leafIndex": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"proof": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Hash"
}
},
"proveByIndex": {
"type": "boolean"
},
"root": {
"$ref": "#/components/schemas/Hash"
},
"rootSeq": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"treeContext": {
"$ref": "#/components/schemas/TreeContextInfo"
}
},
"additionalProperties": false
}Fields§
§hash: Hash§leaf_index: u32§proof: Vec<Hash>§prove_by_index: bool§root: Hash§root_seq: u64§tree_context: TreeContextInfoImplementations§
Trait Implementations§
Source§impl Clone for GetCompressedAccountProofResponseValueV2
impl Clone for GetCompressedAccountProofResponseValueV2
Source§fn clone(&self) -> GetCompressedAccountProofResponseValueV2
fn clone(&self) -> GetCompressedAccountProofResponseValueV2
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<'de> Deserialize<'de> for GetCompressedAccountProofResponseValueV2
impl<'de> Deserialize<'de> for GetCompressedAccountProofResponseValueV2
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<GetCompressedAccountProofResponseValueV2> for GetCompressedAccountProofResponseValueV2
impl From<GetCompressedAccountProofResponseValueV2> for GetCompressedAccountProofResponseValueV2
Source§fn from(value: GetCompressedAccountProofResponseValueV2) -> Self
fn from(value: GetCompressedAccountProofResponseValueV2) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GetCompressedAccountProofResponseValueV2> for GetCompressedAccountProofResponseValueV2
impl TryFrom<GetCompressedAccountProofResponseValueV2> for GetCompressedAccountProofResponseValueV2
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: GetCompressedAccountProofResponseValueV2,
) -> Result<Self, ConversionError>
fn try_from( value: GetCompressedAccountProofResponseValueV2, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetCompressedAccountProofResponseValueV2
impl RefUnwindSafe for GetCompressedAccountProofResponseValueV2
impl Send for GetCompressedAccountProofResponseValueV2
impl Sync for GetCompressedAccountProofResponseValueV2
impl Unpin for GetCompressedAccountProofResponseValueV2
impl UnsafeUnpin for GetCompressedAccountProofResponseValueV2
impl UnwindSafe for GetCompressedAccountProofResponseValueV2
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