pub struct SettleService { /* private fields */ }Expand description
Settlement service for accessing settlement parameters.
Implementations§
Source§impl SettleService
impl SettleService
Sourcepub async fn get_settle_param(
&self,
req: &SettleParamRequest,
opts: Option<RequestOptions>,
) -> Result<Vec<SettleParam>>
pub async fn get_settle_param( &self, req: &SettleParamRequest, opts: Option<RequestOptions>, ) -> Result<Vec<SettleParam>>
Get settlement parameters.
Returns settlement prices, fees, and margin rates for contracts.
§Arguments
req- Request with variety_id, trade_date, trade_type, and langopts- Optional request options
Trait Implementations§
Source§impl Clone for SettleService
impl Clone for SettleService
Source§fn clone(&self) -> SettleService
fn clone(&self) -> SettleService
Returns a duplicate of the value. Read more
1.0.0 · 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 SettleService
impl !RefUnwindSafe for SettleService
impl Send for SettleService
impl Sync for SettleService
impl Unpin for SettleService
impl !UnwindSafe for SettleService
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