pub struct CoinbaseCandle {
pub start: SmartString,
pub low: SmartString,
pub high: SmartString,
pub open: SmartString,
pub close: SmartString,
pub volume: SmartString,
}Expand description
Candles data for market analysis
Fields§
§start: SmartStringStart time of the candle period (ISO 8601 timestamp)
low: SmartStringLowest price during the candle period
high: SmartStringHighest price during the candle period
open: SmartStringOpening price of the candle period
close: SmartStringClosing price of the candle period
volume: SmartStringTotal volume traded during the candle period
Trait Implementations§
Source§impl Clone for CoinbaseCandle
impl Clone for CoinbaseCandle
Source§fn clone(&self) -> CoinbaseCandle
fn clone(&self) -> CoinbaseCandle
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoinbaseCandle
impl Debug for CoinbaseCandle
Source§impl<'de> Deserialize<'de> for CoinbaseCandle
impl<'de> Deserialize<'de> for CoinbaseCandle
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 CoinbaseCandle
impl RefUnwindSafe for CoinbaseCandle
impl Send for CoinbaseCandle
impl Sync for CoinbaseCandle
impl Unpin for CoinbaseCandle
impl UnwindSafe for CoinbaseCandle
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