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 SOL.
This field is **required.
recv_window: Option<i64>The recv_window parameter.
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 SOL.
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 moreAuto 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