pub struct SubscribeEthStakingParams {
pub amount: Decimal,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [subscribe_eth_staking] operation.
This struct holds all of the inputs you can pass when calling
subscribe_eth_staking.
Fields§
§amount: DecimalAmount in ETH, limit 4 decimals
This field is **required.
recv_window: Option<i64>Request validity window in milliseconds.
This field is **optional.
Implementations§
Source§impl SubscribeEthStakingParams
impl SubscribeEthStakingParams
Sourcepub fn builder(amount: Decimal) -> SubscribeEthStakingParamsBuilder
pub fn builder(amount: Decimal) -> SubscribeEthStakingParamsBuilder
Create a builder for [subscribe_eth_staking].
Required parameters:
amount— Amount in ETH, limit 4 decimals
Trait Implementations§
Source§impl Clone for SubscribeEthStakingParams
impl Clone for SubscribeEthStakingParams
Source§fn clone(&self) -> SubscribeEthStakingParams
fn clone(&self) -> SubscribeEthStakingParams
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 SubscribeEthStakingParams
impl Debug for SubscribeEthStakingParams
Source§impl<'de> Deserialize<'de> for SubscribeEthStakingParams
impl<'de> Deserialize<'de> for SubscribeEthStakingParams
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
Auto Trait Implementations§
impl Freeze for SubscribeEthStakingParams
impl RefUnwindSafe for SubscribeEthStakingParams
impl Send for SubscribeEthStakingParams
impl Sync for SubscribeEthStakingParams
impl Unpin for SubscribeEthStakingParams
impl UnsafeUnpin for SubscribeEthStakingParams
impl UnwindSafe for SubscribeEthStakingParams
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