Struct so_defi_config::atrix::tvl_list::AccountKeys
source · pub struct AccountKeys {
pub open_orders: String,
pub pool_coin_account: String,
pub pool_pc_account: String,
pub pool_lp_account: String,
}
Fields§
§open_orders: String
§pool_coin_account: String
§pool_pc_account: String
§pool_lp_account: String
Implementations§
source§impl AccountKeys
impl AccountKeys
pub fn open_orders(&self) -> Pubkey
pub fn pool_coin_account(&self) -> Pubkey
pub fn pool_pc_account(&self) -> Pubkey
pub fn pool_lp_account(&self) -> Pubkey
Trait Implementations§
source§impl Clone for AccountKeys
impl Clone for AccountKeys
source§fn clone(&self) -> AccountKeys
fn clone(&self) -> AccountKeys
Returns a copy 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 AccountKeys
impl Debug for AccountKeys
source§impl Default for AccountKeys
impl Default for AccountKeys
source§fn default() -> AccountKeys
fn default() -> AccountKeys
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountKeys
impl<'de> Deserialize<'de> for AccountKeys
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<AccountKeys> for AccountKeys
impl PartialEq<AccountKeys> for AccountKeys
source§fn eq(&self, other: &AccountKeys) -> bool
fn eq(&self, other: &AccountKeys) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccountKeys
impl Serialize for AccountKeys
impl Eq for AccountKeys
impl StructuralEq for AccountKeys
impl StructuralPartialEq for AccountKeys
Auto Trait Implementations§
impl RefUnwindSafe for AccountKeys
impl Send for AccountKeys
impl Sync for AccountKeys
impl Unpin for AccountKeys
impl UnwindSafe for AccountKeys
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.