pub struct MerkleContextWithNewAddressProof {
pub address: SerializablePubkey,
pub higher_range_address: SerializablePubkey,
pub low_element_leaf_index: u32,
pub lower_range_address: SerializablePubkey,
pub merkle_tree: SerializablePubkey,
pub next_index: u32,
pub proof: Vec<Hash>,
pub root: Hash,
pub root_seq: u64,
}Expand description
MerkleContextWithNewAddressProof
JSON schema
{
"type": "object",
"required": [
"address",
"higherRangeAddress",
"lowElementLeafIndex",
"lowerRangeAddress",
"merkleTree",
"nextIndex",
"proof",
"root",
"rootSeq"
],
"properties": {
"address": {
"$ref": "#/components/schemas/SerializablePubkey"
},
"higherRangeAddress": {
"$ref": "#/components/schemas/SerializablePubkey"
},
"lowElementLeafIndex": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"lowerRangeAddress": {
"$ref": "#/components/schemas/SerializablePubkey"
},
"merkleTree": {
"$ref": "#/components/schemas/SerializablePubkey"
},
"nextIndex": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"proof": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Hash"
}
},
"root": {
"$ref": "#/components/schemas/Hash"
},
"rootSeq": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}Fields§
§address: SerializablePubkey§higher_range_address: SerializablePubkey§low_element_leaf_index: u32§lower_range_address: SerializablePubkey§merkle_tree: SerializablePubkey§next_index: u32§proof: Vec<Hash>§root: Hash§root_seq: u64Implementations§
Trait Implementations§
Source§impl Clone for MerkleContextWithNewAddressProof
impl Clone for MerkleContextWithNewAddressProof
Source§fn clone(&self) -> MerkleContextWithNewAddressProof
fn clone(&self) -> MerkleContextWithNewAddressProof
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 MerkleContextWithNewAddressProof
impl<'de> Deserialize<'de> for MerkleContextWithNewAddressProof
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<MerkleContextWithNewAddressProof> for MerkleContextWithNewAddressProof
impl From<MerkleContextWithNewAddressProof> for MerkleContextWithNewAddressProof
Source§fn from(value: MerkleContextWithNewAddressProof) -> Self
fn from(value: MerkleContextWithNewAddressProof) -> Self
Converts to this type from the input type.
Source§impl TryFrom<MerkleContextWithNewAddressProof> for MerkleContextWithNewAddressProof
impl TryFrom<MerkleContextWithNewAddressProof> for MerkleContextWithNewAddressProof
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: MerkleContextWithNewAddressProof,
) -> Result<Self, ConversionError>
fn try_from( value: MerkleContextWithNewAddressProof, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MerkleContextWithNewAddressProof
impl RefUnwindSafe for MerkleContextWithNewAddressProof
impl Send for MerkleContextWithNewAddressProof
impl Sync for MerkleContextWithNewAddressProof
impl Unpin for MerkleContextWithNewAddressProof
impl UnsafeUnpin for MerkleContextWithNewAddressProof
impl UnwindSafe for MerkleContextWithNewAddressProof
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