pub struct QueryMarginInterestRateHistoryParams {
pub asset: String,
pub vip_level: Option<i64>,
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [query_margin_interest_rate_history] operation.
This struct holds all of the inputs you can pass when calling
query_margin_interest_rate_history.
Fields§
§asset: StringThe asset parameter.
This field is **required.
vip_level: Option<i64>The vip_level parameter.
This field is **optional.
start_time: Option<i64>The start_time parameter.
This field is **optional.
end_time: Option<i64>The end_time parameter.
This field is **optional.
recv_window: Option<i64>The recv_window parameter.
This field is **optional.
Implementations§
Source§impl QueryMarginInterestRateHistoryParams
impl QueryMarginInterestRateHistoryParams
Sourcepub fn builder(asset: String) -> QueryMarginInterestRateHistoryParamsBuilder
pub fn builder(asset: String) -> QueryMarginInterestRateHistoryParamsBuilder
Create a builder for [query_margin_interest_rate_history].
Required parameters:
asset— String
Trait Implementations§
Source§impl Clone for QueryMarginInterestRateHistoryParams
impl Clone for QueryMarginInterestRateHistoryParams
Source§fn clone(&self) -> QueryMarginInterestRateHistoryParams
fn clone(&self) -> QueryMarginInterestRateHistoryParams
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 moreSource§impl<'de> Deserialize<'de> for QueryMarginInterestRateHistoryParams
impl<'de> Deserialize<'de> for QueryMarginInterestRateHistoryParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QueryMarginInterestRateHistoryParams
impl RefUnwindSafe for QueryMarginInterestRateHistoryParams
impl Send for QueryMarginInterestRateHistoryParams
impl Sync for QueryMarginInterestRateHistoryParams
impl Unpin for QueryMarginInterestRateHistoryParams
impl UnsafeUnpin for QueryMarginInterestRateHistoryParams
impl UnwindSafe for QueryMarginInterestRateHistoryParams
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