pub struct AddressWithTree {
pub address: String,
pub tree: String,
}
Fields§
§address: String
A Solana public key represented as a base58 string.
tree: String
A Solana public key represented as a base58 string.
Implementations§
Source§impl AddressWithTree
impl AddressWithTree
pub fn new(address: String, tree: String) -> 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 Default for AddressWithTree
impl Default for AddressWithTree
Source§fn default() -> AddressWithTree
fn default() -> AddressWithTree
Returns the “default value” for a type. Read more
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 PartialEq for AddressWithTree
impl PartialEq for AddressWithTree
Source§impl Serialize for AddressWithTree
impl Serialize for AddressWithTree
impl StructuralPartialEq for AddressWithTree
Auto Trait Implementations§
impl Freeze for AddressWithTree
impl RefUnwindSafe for AddressWithTree
impl Send for AddressWithTree
impl Sync for AddressWithTree
impl Unpin 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