#[repr(C)]pub struct AddressLookupTableAccount {
pub key: Pubkey,
pub addresses: Vec<Pubkey>,
}Expand description
Contains account lookup table metadata
See [solana_instruction::AccountMeta] for more information.
Fields§
§key: PubkeyThe address lookup tables public key.
When serialized, encoded to a field named “p” for space efficiency.
addresses: Vec<Pubkey>List of addresses which the address lookup table has coverage for.
When serialized, encoded to a field named “a” for space efficiency.
Trait Implementations§
Source§impl Clone for AddressLookupTableAccount
impl Clone for AddressLookupTableAccount
Source§impl Debug for AddressLookupTableAccount
impl Debug for AddressLookupTableAccount
Source§impl Default for AddressLookupTableAccount
impl Default for AddressLookupTableAccount
Source§impl<'de> Deserialize<'de> for AddressLookupTableAccount
impl<'de> Deserialize<'de> for AddressLookupTableAccount
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
impl Eq for AddressLookupTableAccount
Source§impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature solana-alt-account-convert-v2 only.
impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature
solana-alt-account-convert-v2 only.Source§fn from(value: AddressLookupTableAccount) -> Self
fn from(value: AddressLookupTableAccount) -> Self
Converts to this type from the input type.
Source§impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature solana-alt-account-convert-v2 only.
impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature
solana-alt-account-convert-v2 only.Source§fn from(value: AddressLookupTableAccount) -> Self
fn from(value: AddressLookupTableAccount) -> Self
Converts to this type from the input type.
Source§impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature solana-alt-account-convert-v3 only.
impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature
solana-alt-account-convert-v3 only.Source§fn from(value: AddressLookupTableAccount) -> Self
fn from(value: AddressLookupTableAccount) -> Self
Converts to this type from the input type.
Source§impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature solana-alt-account-convert-v3 only.
impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature
solana-alt-account-convert-v3 only.Source§fn from(value: AddressLookupTableAccount) -> Self
fn from(value: AddressLookupTableAccount) -> Self
Converts to this type from the input type.
Source§impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature solana-alt-account-convert-v4 only.
impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature
solana-alt-account-convert-v4 only.Source§fn from(value: AddressLookupTableAccount) -> Self
fn from(value: AddressLookupTableAccount) -> Self
Converts to this type from the input type.
Source§impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature solana-alt-account-convert-v4 only.
impl From<AddressLookupTableAccount> for AddressLookupTableAccount
Available on crate feature
solana-alt-account-convert-v4 only.Source§fn from(value: AddressLookupTableAccount) -> Self
fn from(value: AddressLookupTableAccount) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for AddressLookupTableAccount
Auto Trait Implementations§
impl Freeze for AddressLookupTableAccount
impl RefUnwindSafe for AddressLookupTableAccount
impl Send for AddressLookupTableAccount
impl Sync for AddressLookupTableAccount
impl Unpin for AddressLookupTableAccount
impl UnsafeUnpin for AddressLookupTableAccount
impl UnwindSafe for AddressLookupTableAccount
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