pub struct SolStakingAccountResponse {
pub bnsol_amount: Option<String>,
pub holding_in_sol: Option<String>,
pub thirty_days_profit_in_sol: Option<String>,
}Fields§
§bnsol_amount: Option<String>§holding_in_sol: Option<String>§thirty_days_profit_in_sol: Option<String>Implementations§
Source§impl SolStakingAccountResponse
impl SolStakingAccountResponse
pub fn new() -> SolStakingAccountResponse
Trait Implementations§
Source§impl Clone for SolStakingAccountResponse
impl Clone for SolStakingAccountResponse
Source§fn clone(&self) -> SolStakingAccountResponse
fn clone(&self) -> SolStakingAccountResponse
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 moreSource§impl Debug for SolStakingAccountResponse
impl Debug for SolStakingAccountResponse
Source§impl Default for SolStakingAccountResponse
impl Default for SolStakingAccountResponse
Source§fn default() -> SolStakingAccountResponse
fn default() -> SolStakingAccountResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SolStakingAccountResponse
impl<'de> Deserialize<'de> for SolStakingAccountResponse
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 SolStakingAccountResponse
impl PartialEq for SolStakingAccountResponse
Source§fn eq(&self, other: &SolStakingAccountResponse) -> bool
fn eq(&self, other: &SolStakingAccountResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SolStakingAccountResponse
Auto Trait Implementations§
impl Freeze for SolStakingAccountResponse
impl RefUnwindSafe for SolStakingAccountResponse
impl Send for SolStakingAccountResponse
impl Sync for SolStakingAccountResponse
impl Unpin for SolStakingAccountResponse
impl UnsafeUnpin for SolStakingAccountResponse
impl UnwindSafe for SolStakingAccountResponse
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