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