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