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