pub struct CryptoHourlyMarket {
pub token_symbol: String,
pub expiry_time: DateTime<Utc>,
pub strike_price: Option<f64>,
pub direction: Option<MarketDirection>,
pub market_type: Option<CryptoMarketType>,
}Fields§
§token_symbol: String§expiry_time: DateTime<Utc>§strike_price: Option<f64>§direction: Option<MarketDirection>§market_type: Option<CryptoMarketType>Trait Implementations§
Source§impl Clone for CryptoHourlyMarket
impl Clone for CryptoHourlyMarket
Source§fn clone(&self) -> CryptoHourlyMarket
fn clone(&self) -> CryptoHourlyMarket
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 moreSource§impl Debug for CryptoHourlyMarket
impl Debug for CryptoHourlyMarket
Source§impl<'de> Deserialize<'de> for CryptoHourlyMarket
impl<'de> Deserialize<'de> for CryptoHourlyMarket
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CryptoHourlyMarket
impl RefUnwindSafe for CryptoHourlyMarket
impl Send for CryptoHourlyMarket
impl Sync for CryptoHourlyMarket
impl Unpin for CryptoHourlyMarket
impl UnwindSafe for CryptoHourlyMarket
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