pub struct GetCollateralRecordParams {
pub product_id: 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_collateral_record] operation.
This struct holds all of the inputs you can pass when calling
get_collateral_record.
Fields§
§product_id: Option<String>The product_id 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.
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 GetCollateralRecordParams
impl GetCollateralRecordParams
Sourcepub fn builder() -> GetCollateralRecordParamsBuilder
pub fn builder() -> GetCollateralRecordParamsBuilder
Create a builder for [get_collateral_record].
Trait Implementations§
Source§impl Clone for GetCollateralRecordParams
impl Clone for GetCollateralRecordParams
Source§fn clone(&self) -> GetCollateralRecordParams
fn clone(&self) -> GetCollateralRecordParams
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 Debug for GetCollateralRecordParams
impl Debug for GetCollateralRecordParams
Source§impl Default for GetCollateralRecordParams
impl Default for GetCollateralRecordParams
Source§fn default() -> GetCollateralRecordParams
fn default() -> GetCollateralRecordParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetCollateralRecordParams
impl RefUnwindSafe for GetCollateralRecordParams
impl Send for GetCollateralRecordParams
impl Sync for GetCollateralRecordParams
impl Unpin for GetCollateralRecordParams
impl UnsafeUnpin for GetCollateralRecordParams
impl UnwindSafe for GetCollateralRecordParams
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