pub enum OutsideRTH {
Unknown,
RTHOnly,
AnyTime,
Overnight,
}
Expand description
Enable or disable outside regular trading hours
Variants§
Trait Implementations§
source§impl Clone for OutsideRTH
impl Clone for OutsideRTH
source§fn clone(&self) -> OutsideRTH
fn clone(&self) -> OutsideRTH
Returns a copy 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 OutsideRTH
impl Debug for OutsideRTH
source§impl Default for OutsideRTH
impl Default for OutsideRTH
source§impl<'de> Deserialize<'de> for OutsideRTH
impl<'de> Deserialize<'de> for OutsideRTH
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for OutsideRTH
impl Display for OutsideRTH
source§impl FromStr for OutsideRTH
impl FromStr for OutsideRTH
source§impl Hash for OutsideRTH
impl Hash for OutsideRTH
source§impl PartialEq for OutsideRTH
impl PartialEq for OutsideRTH
source§impl Serialize for OutsideRTH
impl Serialize for OutsideRTH
source§impl TryFrom<&str> for OutsideRTH
impl TryFrom<&str> for OutsideRTH
impl Copy for OutsideRTH
impl Eq for OutsideRTH
impl StructuralPartialEq for OutsideRTH
Auto Trait Implementations§
impl Freeze for OutsideRTH
impl RefUnwindSafe for OutsideRTH
impl Send for OutsideRTH
impl Sync for OutsideRTH
impl Unpin for OutsideRTH
impl UnwindSafe for OutsideRTH
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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