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