Struct binance_spot_connector_rust::margin::margin_interest_rate_history::MarginInterestRateHistory
source · pub struct MarginInterestRateHistory { /* private fields */ }
Expand description
GET /sapi/v1/margin/interestRateHistory
The max interval between startTime and endTime is 30 days.
Weight(IP): 1
Example
use binance_spot_connector_rust::margin;
let request = margin::margin_interest_rate_history("BTC");
Implementations§
source§impl MarginInterestRateHistory
impl MarginInterestRateHistory
pub fn new(asset: &str) -> Self
pub fn vip_level(self, vip_level: u32) -> Self
pub fn start_time(self, start_time: u64) -> Self
pub fn end_time(self, end_time: u64) -> Self
pub fn recv_window(self, recv_window: u64) -> Self
pub fn credentials(self, credentials: &Credentials) -> Self
Trait Implementations§
source§impl From<MarginInterestRateHistory> for Request
impl From<MarginInterestRateHistory> for Request
source§fn from(request: MarginInterestRateHistory) -> Request
fn from(request: MarginInterestRateHistory) -> Request
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MarginInterestRateHistory
impl Send for MarginInterestRateHistory
impl Sync for MarginInterestRateHistory
impl Unpin for MarginInterestRateHistory
impl UnwindSafe for MarginInterestRateHistory
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