pub struct AddressTreeInfo {
pub tree: Pubkey,
pub queue: Pubkey,
}Fields§
§tree: Pubkey§queue: PubkeyTrait Implementations§
Source§impl BorshDeserialize for AddressTreeInfo
impl BorshDeserialize for AddressTreeInfo
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for AddressTreeInfo
impl BorshSerialize for AddressTreeInfo
Source§impl Clone for AddressTreeInfo
impl Clone for AddressTreeInfo
Source§fn clone(&self) -> AddressTreeInfo
fn clone(&self) -> AddressTreeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AddressTreeInfo
Source§impl Debug for AddressTreeInfo
impl Debug for AddressTreeInfo
Source§impl Default for AddressTreeInfo
impl Default for AddressTreeInfo
Source§fn default() -> AddressTreeInfo
fn default() -> AddressTreeInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for AddressTreeInfo
impl PartialEq for AddressTreeInfo
Source§fn eq(&self, other: &AddressTreeInfo) -> bool
fn eq(&self, other: &AddressTreeInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddressTreeInfo
Auto Trait Implementations§
impl Freeze for AddressTreeInfo
impl RefUnwindSafe for AddressTreeInfo
impl Send for AddressTreeInfo
impl Sync for AddressTreeInfo
impl Unpin for AddressTreeInfo
impl UnsafeUnpin for AddressTreeInfo
impl UnwindSafe for AddressTreeInfo
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