pub struct AccountProofInputs {
pub hash: String,
pub leaf_index: u64,
pub merkle_context: MerkleContextV2,
pub root: String,
pub root_index: RootIndex,
}Expand description
AccountProofInputs
JSON schema
{
"type": "object",
"required": [
"hash",
"leafIndex",
"merkleContext",
"root",
"rootIndex"
],
"properties": {
"hash": {
"type": "string"
},
"leafIndex": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"merkleContext": {
"$ref": "#/components/schemas/MerkleContextV2"
},
"root": {
"type": "string"
},
"rootIndex": {
"$ref": "#/components/schemas/RootIndex"
}
}
}Fields§
§hash: String§leaf_index: u64§merkle_context: MerkleContextV2§root: String§root_index: RootIndexImplementations§
Source§impl AccountProofInputs
impl AccountProofInputs
pub fn builder() -> AccountProofInputs
Trait Implementations§
Source§impl Clone for AccountProofInputs
impl Clone for AccountProofInputs
Source§fn clone(&self) -> AccountProofInputs
fn clone(&self) -> AccountProofInputs
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 AccountProofInputs
impl Debug for AccountProofInputs
Source§impl<'de> Deserialize<'de> for AccountProofInputs
impl<'de> Deserialize<'de> for AccountProofInputs
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<AccountProofInputs> for AccountProofInputs
impl From<AccountProofInputs> for AccountProofInputs
Source§fn from(value: AccountProofInputs) -> Self
fn from(value: AccountProofInputs) -> Self
Converts to this type from the input type.
Source§impl Serialize for AccountProofInputs
impl Serialize for AccountProofInputs
Source§impl TryFrom<AccountProofInputs> for AccountProofInputs
impl TryFrom<AccountProofInputs> for AccountProofInputs
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AccountProofInputs) -> Result<Self, ConversionError>
fn try_from(value: AccountProofInputs) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AccountProofInputs
impl RefUnwindSafe for AccountProofInputs
impl Send for AccountProofInputs
impl Sync for AccountProofInputs
impl Unpin for AccountProofInputs
impl UnsafeUnpin for AccountProofInputs
impl UnwindSafe for AccountProofInputs
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