pub struct PlatformCandle {
pub started_at_ms: u64,
pub open_price: String,
pub high_price: String,
pub low_price: String,
pub close_price: String,
}Expand description
Decimal prices are strings so no SDK boundary silently rounds money.
Fields§
§started_at_ms: u64§open_price: String§high_price: String§low_price: String§close_price: StringTrait Implementations§
Source§impl Clone for PlatformCandle
impl Clone for PlatformCandle
Source§fn clone(&self) -> PlatformCandle
fn clone(&self) -> PlatformCandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformCandle
impl Debug for PlatformCandle
Source§impl<'de> Deserialize<'de> for PlatformCandle
impl<'de> Deserialize<'de> for PlatformCandle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformCandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformCandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformCandle
Source§impl PartialEq for PlatformCandle
impl PartialEq for PlatformCandle
Source§impl Serialize for PlatformCandle
impl Serialize for PlatformCandle
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlatformCandle
Auto Trait Implementations§
impl Freeze for PlatformCandle
impl RefUnwindSafe for PlatformCandle
impl Send for PlatformCandle
impl Sync for PlatformCandle
impl Unpin for PlatformCandle
impl UnsafeUnpin for PlatformCandle
impl UnwindSafe for PlatformCandle
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