pub struct SetSoftStakingParamsBuilder { /* private fields */ }Expand description
Builder for SetSoftStakingParams.
Implementations§
Source§impl SetSoftStakingParamsBuilder
impl SetSoftStakingParamsBuilder
Sourcepub fn soft_staking<VALUE: Into<bool>>(self, value: VALUE) -> Self
pub fn soft_staking<VALUE: Into<bool>>(self, value: VALUE) -> Self
true or false
This field is **required.
Sourcepub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
The recv_window parameter.
This field is **optional.
Sourcepub fn build(self) -> Result<SetSoftStakingParams, ParamBuildError>
pub fn build(self) -> Result<SetSoftStakingParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetSoftStakingParamsBuilder
impl RefUnwindSafe for SetSoftStakingParamsBuilder
impl Send for SetSoftStakingParamsBuilder
impl Sync for SetSoftStakingParamsBuilder
impl Unpin for SetSoftStakingParamsBuilder
impl UnsafeUnpin for SetSoftStakingParamsBuilder
impl UnwindSafe for SetSoftStakingParamsBuilder
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