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