pub struct GetHistoricalVolatilityParams {
pub category: Category,
pub base_coin: Option<String>,
pub period: Option<i32>,
pub start_time: Option<u64>,
pub end_time: Option<u64>,
}Expand description
Parameters for getting historical volatility.
Fields§
§category: CategoryProduct category (must be option).
base_coin: Option<String>Base coin (e.g., “BTC”).
period: Option<i32>Period (days).
start_time: Option<u64>Start time (ms).
end_time: Option<u64>End time (ms).
Implementations§
Trait Implementations§
Source§impl Clone for GetHistoricalVolatilityParams
impl Clone for GetHistoricalVolatilityParams
Source§fn clone(&self) -> GetHistoricalVolatilityParams
fn clone(&self) -> GetHistoricalVolatilityParams
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 GetHistoricalVolatilityParams
impl RefUnwindSafe for GetHistoricalVolatilityParams
impl Send for GetHistoricalVolatilityParams
impl Sync for GetHistoricalVolatilityParams
impl Unpin for GetHistoricalVolatilityParams
impl UnwindSafe for GetHistoricalVolatilityParams
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