pub struct SubscribeSolStakingParams {
pub amount: Decimal,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [subscribe_sol_staking] operation.
This struct holds all of the inputs you can pass when calling
subscribe_sol_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 SubscribeSolStakingParams
impl SubscribeSolStakingParams
Sourcepub fn builder(amount: Decimal) -> SubscribeSolStakingParamsBuilder
pub fn builder(amount: Decimal) -> SubscribeSolStakingParamsBuilder
Create a builder for [subscribe_sol_staking].
Required parameters:
amount— Amount in SOL.
Trait Implementations§
Source§impl Clone for SubscribeSolStakingParams
impl Clone for SubscribeSolStakingParams
Source§fn clone(&self) -> SubscribeSolStakingParams
fn clone(&self) -> SubscribeSolStakingParams
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 SubscribeSolStakingParams
impl RefUnwindSafe for SubscribeSolStakingParams
impl Send for SubscribeSolStakingParams
impl Sync for SubscribeSolStakingParams
impl Unpin for SubscribeSolStakingParams
impl UnsafeUnpin for SubscribeSolStakingParams
impl UnwindSafe for SubscribeSolStakingParams
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