pub struct High<T>(/* private fields */);Expand description
Highest price value for a time period
Implementations§
Trait Implementations§
Source§impl<T> AddAssign for High<T>
impl<T> AddAssign for High<T>
Source§fn add_assign(&mut self, rhs: High<T>)
fn add_assign(&mut self, rhs: High<T>)
Performs the
+= operation. Read moreSource§impl<T> Bytes for High<T>
impl<T> Bytes for High<T>
Source§type Array = <T as Bytes>::Array
type Array = <T as Bytes>::Array
The byte array type returned by
to_bytes.
For fixed-size types, this is [u8; N] where N is the size of the type.Source§fn from_bytes(bytes: &[u8]) -> Result<High<T>, Error>
fn from_bytes(bytes: &[u8]) -> Result<High<T>, Error>
Deserializes a value from bytes. Read more
Source§const IS_NATIVE_LAYOUT: bool = false
const IS_NATIVE_LAYOUT: bool = false
Whether the byte representation from
to_bytes is identical to the
in-memory representation of Self. When true, bulk operations can use
memcpy instead of per-element deserialization. Read moreSource§impl<T> Formattable for High<T>where
T: Display,
impl<T> Formattable for High<T>where
T: Display,
Source§impl<T> JsonSchema for High<T>where
T: JsonSchema,
impl<T> JsonSchema for High<T>where
T: JsonSchema,
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 moreSource§impl<T> Ord for High<T>where
T: Ord,
impl<T> Ord for High<T>where
T: Ord,
Source§impl<T> PartialOrd for High<T>where
T: PartialOrd,
impl<T> PartialOrd for High<T>where
T: PartialOrd,
Source§impl<T> Serialize for High<T>where
T: Serialize,
impl<T> Serialize for High<T>where
T: Serialize,
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<T> Copy for High<T>where
T: Copy,
impl<T> Eq for High<T>where
T: Eq,
impl<T> StructuralPartialEq for High<T>
impl<T> TransparentPco<<T as Pco>::NumberType> for High<T>
Auto Trait Implementations§
impl<T> Freeze for High<T>where
T: Freeze,
impl<T> RefUnwindSafe for High<T>where
T: RefUnwindSafe,
impl<T> Send for High<T>where
T: Send,
impl<T> Sync for High<T>where
T: Sync,
impl<T> Unpin for High<T>where
T: Unpin,
impl<T> UnsafeUnpin for High<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for High<T>where
T: UnwindSafe,
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> FromInnerSlice<<T as Pco>::NumberType> for Twhere
T: PcoVecValue,
impl<T> FromInnerSlice<<T as Pco>::NumberType> for Twhere
T: PcoVecValue,
const _SIZE_CHECK: ()
const _ALIGN_CHECK: ()
fn from_inner_slice(vec: Vec<<T as Pco>::NumberType>) -> Vec<T>
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