#[repr(C)]pub struct OHLCCentsUnsigned {
pub open: Open<CentsUnsigned>,
pub high: High<CentsUnsigned>,
pub low: Low<CentsUnsigned>,
pub close: Close<CentsUnsigned>,
}Expand description
OHLC (Open, High, Low, Close) data in cents
Fields§
§open: Open<CentsUnsigned>§high: High<CentsUnsigned>§low: Low<CentsUnsigned>§close: Close<CentsUnsigned>Trait Implementations§
Source§impl Add for OHLCCentsUnsigned
impl Add for OHLCCentsUnsigned
Source§impl Bytes for OHLCCentsUnsigned
impl Bytes for OHLCCentsUnsigned
Source§impl Clone for OHLCCentsUnsigned
impl Clone for OHLCCentsUnsigned
Source§fn clone(&self) -> OHLCCentsUnsigned
fn clone(&self) -> OHLCCentsUnsigned
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 OHLCCentsUnsigned
impl Debug for OHLCCentsUnsigned
Source§impl Default for OHLCCentsUnsigned
impl Default for OHLCCentsUnsigned
Source§fn default() -> OHLCCentsUnsigned
fn default() -> OHLCCentsUnsigned
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OHLCCentsUnsigned
impl<'de> Deserialize<'de> for OHLCCentsUnsigned
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
Source§impl Display for OHLCCentsUnsigned
impl Display for OHLCCentsUnsigned
Source§impl Formattable for OHLCCentsUnsigned
impl Formattable for OHLCCentsUnsigned
Source§impl From<&OHLCCentsUnsigned> for OHLCDollars
impl From<&OHLCCentsUnsigned> for OHLCDollars
Source§fn from(value: &OHLCCentsUnsigned) -> Self
fn from(value: &OHLCCentsUnsigned) -> Self
Converts to this type from the input type.
Source§impl From<(Open<CentsUnsigned>, High<CentsUnsigned>, Low<CentsUnsigned>, Close<CentsUnsigned>)> for OHLCCentsUnsigned
impl From<(Open<CentsUnsigned>, High<CentsUnsigned>, Low<CentsUnsigned>, Close<CentsUnsigned>)> for OHLCCentsUnsigned
Source§fn from(
value: (Open<CentsUnsigned>, High<CentsUnsigned>, Low<CentsUnsigned>, Close<CentsUnsigned>),
) -> Self
fn from( value: (Open<CentsUnsigned>, High<CentsUnsigned>, Low<CentsUnsigned>, Close<CentsUnsigned>), ) -> Self
Converts to this type from the input type.
Source§impl From<Close<CentsUnsigned>> for OHLCCentsUnsigned
impl From<Close<CentsUnsigned>> for OHLCCentsUnsigned
Source§fn from(value: Close<CentsUnsigned>) -> Self
fn from(value: Close<CentsUnsigned>) -> Self
Converts to this type from the input type.
Source§impl From<OHLCCentsUnsigned> for OHLCDollars
impl From<OHLCCentsUnsigned> for OHLCDollars
Source§fn from(value: OHLCCentsUnsigned) -> Self
fn from(value: OHLCCentsUnsigned) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for OHLCCentsUnsigned
impl JsonSchema for OHLCCentsUnsigned
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for OHLCCentsUnsigned
impl RefUnwindSafe for OHLCCentsUnsigned
impl Send for OHLCCentsUnsigned
impl Sync for OHLCCentsUnsigned
impl Unpin for OHLCCentsUnsigned
impl UnwindSafe for OHLCCentsUnsigned
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more