pub struct PostGetValidityProofV2BodyParams {
pub hashes: Vec<Hash>,
pub new_addresses_with_trees: Vec<AddressWithTree>,
}Expand description
PostGetValidityProofV2BodyParams
JSON schema
{
"type": "object",
"properties": {
"hashes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Hash"
}
},
"newAddressesWithTrees": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AddressWithTree"
}
}
},
"additionalProperties": false
}Fields§
§hashes: Vec<Hash>§new_addresses_with_trees: Vec<AddressWithTree>Implementations§
Trait Implementations§
Source§impl Clone for PostGetValidityProofV2BodyParams
impl Clone for PostGetValidityProofV2BodyParams
Source§fn clone(&self) -> PostGetValidityProofV2BodyParams
fn clone(&self) -> PostGetValidityProofV2BodyParams
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 PostGetValidityProofV2BodyParams
impl<'de> Deserialize<'de> for PostGetValidityProofV2BodyParams
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<PostGetValidityProofV2BodyParams> for PostGetValidityProofV2BodyParams
impl From<PostGetValidityProofV2BodyParams> for PostGetValidityProofV2BodyParams
Source§fn from(value: PostGetValidityProofV2BodyParams) -> Self
fn from(value: PostGetValidityProofV2BodyParams) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PostGetValidityProofV2BodyParams> for PostGetValidityProofV2BodyParams
impl TryFrom<PostGetValidityProofV2BodyParams> for PostGetValidityProofV2BodyParams
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: PostGetValidityProofV2BodyParams,
) -> Result<Self, ConversionError>
fn try_from( value: PostGetValidityProofV2BodyParams, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PostGetValidityProofV2BodyParams
impl RefUnwindSafe for PostGetValidityProofV2BodyParams
impl Send for PostGetValidityProofV2BodyParams
impl Sync for PostGetValidityProofV2BodyParams
impl Unpin for PostGetValidityProofV2BodyParams
impl UnsafeUnpin for PostGetValidityProofV2BodyParams
impl UnwindSafe for PostGetValidityProofV2BodyParams
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