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