pub struct GetRateHistoryParams {
pub product_id: String,
pub apr_period: Option<String>,
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub current: Option<i64>,
pub size: Option<i64>,
pub recv_window: Option<i64>,
}Expand description
Request parameters for the [get_rate_history] operation.
This struct holds all of the inputs you can pass when calling
get_rate_history.
Fields§
§product_id: StringThe product_id parameter.
This field is **required.
apr_period: Option<String>“DAY”,“YEAR”,default“DAY“
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.
current: Option<i64>Currently querying page. Starts from 1. Default: 1
This field is **optional.
size: Option<i64>Number of results per page. Default: 10, Max: 100
This field is **optional.
recv_window: Option<i64>The value cannot be greater than 60000 (ms)
This field is **optional.
Implementations§
Source§impl GetRateHistoryParams
impl GetRateHistoryParams
Sourcepub fn builder(product_id: String) -> GetRateHistoryParamsBuilder
pub fn builder(product_id: String) -> GetRateHistoryParamsBuilder
Create a builder for [get_rate_history].
Required parameters:
product_id— String
Trait Implementations§
Source§impl Clone for GetRateHistoryParams
impl Clone for GetRateHistoryParams
Source§fn clone(&self) -> GetRateHistoryParams
fn clone(&self) -> GetRateHistoryParams
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 GetRateHistoryParams
impl RefUnwindSafe for GetRateHistoryParams
impl Send for GetRateHistoryParams
impl Sync for GetRateHistoryParams
impl Unpin for GetRateHistoryParams
impl UnsafeUnpin for GetRateHistoryParams
impl UnwindSafe for GetRateHistoryParams
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