pub struct SetSoftStakingParams {
pub soft_staking: bool,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [set_soft_staking] operation.
This struct holds all of the inputs you can pass when calling
set_soft_staking.
Fields§
§soft_staking: booltrue or false
This field is **required.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl SetSoftStakingParams
impl SetSoftStakingParams
Sourcepub fn builder(soft_staking: bool) -> SetSoftStakingParamsBuilder
pub fn builder(soft_staking: bool) -> SetSoftStakingParamsBuilder
Create a builder for [set_soft_staking].
Required parameters:
soft_staking— true or false
Trait Implementations§
Source§impl Clone for SetSoftStakingParams
impl Clone for SetSoftStakingParams
Source§fn clone(&self) -> SetSoftStakingParams
fn clone(&self) -> SetSoftStakingParams
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 SetSoftStakingParams
impl RefUnwindSafe for SetSoftStakingParams
impl Send for SetSoftStakingParams
impl Sync for SetSoftStakingParams
impl Unpin for SetSoftStakingParams
impl UnsafeUnpin for SetSoftStakingParams
impl UnwindSafe for SetSoftStakingParams
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