pub struct SolanaBlockchainData {
pub stake_account_address: String,
pub stake_account_derivation_change_value: f64,
}
Expand description
SolanaBlockchainData : Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. The type depends on the chainDescriptor value. For Solana (SOL), stake account address. For Ethereum (ETH), an empty object is returned as no specific data is available.
Fields§
§stake_account_address: String
The stake account address matching the stakeAccountId.
stake_account_derivation_change_value: f64
The value of the change level in the BIP44 path which was used to derive the stake account address
Implementations§
Source§impl SolanaBlockchainData
impl SolanaBlockchainData
Sourcepub fn new(
stake_account_address: String,
stake_account_derivation_change_value: f64,
) -> SolanaBlockchainData
pub fn new( stake_account_address: String, stake_account_derivation_change_value: f64, ) -> SolanaBlockchainData
Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. The type depends on the chainDescriptor value. For Solana (SOL), stake account address. For Ethereum (ETH), an empty object is returned as no specific data is available.
Trait Implementations§
Source§impl Clone for SolanaBlockchainData
impl Clone for SolanaBlockchainData
Source§fn clone(&self) -> SolanaBlockchainData
fn clone(&self) -> SolanaBlockchainData
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 SolanaBlockchainData
impl Debug for SolanaBlockchainData
Source§impl Default for SolanaBlockchainData
impl Default for SolanaBlockchainData
Source§fn default() -> SolanaBlockchainData
fn default() -> SolanaBlockchainData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SolanaBlockchainData
impl<'de> Deserialize<'de> for SolanaBlockchainData
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 SolanaBlockchainData
impl PartialEq for SolanaBlockchainData
Source§impl Serialize for SolanaBlockchainData
impl Serialize for SolanaBlockchainData
impl StructuralPartialEq for SolanaBlockchainData
Auto Trait Implementations§
impl Freeze for SolanaBlockchainData
impl RefUnwindSafe for SolanaBlockchainData
impl Send for SolanaBlockchainData
impl Sync for SolanaBlockchainData
impl Unpin for SolanaBlockchainData
impl UnwindSafe for SolanaBlockchainData
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