pub struct SeriesDescriptor {
pub source_identity: String,
pub exchange: String,
pub symbol: String,
pub timeframe_seconds: u64,
pub price_basis: StoredPriceBasis,
pub alignment_offset_seconds: i64,
pub digits: u32,
pub point_size: f64,
pub count_capability: CountCapability,
pub verified: bool,
}Expand description
Caller-owned physical-series contract. verified = false identifies a legacy assertion.
Fields§
§source_identity: String§exchange: String§symbol: String§timeframe_seconds: u64§price_basis: StoredPriceBasis§alignment_offset_seconds: i64§digits: u32§point_size: f64§count_capability: CountCapability§verified: boolImplementations§
Trait Implementations§
Source§impl Clone for SeriesDescriptor
impl Clone for SeriesDescriptor
Source§impl Debug for SeriesDescriptor
impl Debug for SeriesDescriptor
Source§impl<'de> Deserialize<'de> for SeriesDescriptor
impl<'de> Deserialize<'de> for SeriesDescriptor
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 PartialEq for SeriesDescriptor
impl PartialEq for SeriesDescriptor
Source§impl Serialize for SeriesDescriptor
impl Serialize for SeriesDescriptor
impl StructuralPartialEq for SeriesDescriptor
Auto Trait Implementations§
impl Freeze for SeriesDescriptor
impl RefUnwindSafe for SeriesDescriptor
impl Send for SeriesDescriptor
impl Sync for SeriesDescriptor
impl Unpin for SeriesDescriptor
impl UnsafeUnpin for SeriesDescriptor
impl UnwindSafe for SeriesDescriptor
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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