Enum longport::trade::DeductionStatus
source · pub enum DeductionStatus {
Unknown,
None,
NoData,
Pending,
Done,
}
Expand description
Deduction status
Variants§
Unknown
Unknown
None
Pending Settlement
NoData
Settled with no data
Pending
Settled and pending distribution
Done
Settled and distributed
Trait Implementations§
source§impl Clone for DeductionStatus
impl Clone for DeductionStatus
source§fn clone(&self) -> DeductionStatus
fn clone(&self) -> DeductionStatus
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 DeductionStatus
impl Debug for DeductionStatus
source§impl Default for DeductionStatus
impl Default for DeductionStatus
source§impl<'de> Deserialize<'de> for DeductionStatus
impl<'de> Deserialize<'de> for DeductionStatus
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 DeductionStatus
impl Display for DeductionStatus
source§impl FromStr for DeductionStatus
impl FromStr for DeductionStatus
source§impl Hash for DeductionStatus
impl Hash for DeductionStatus
source§impl PartialEq for DeductionStatus
impl PartialEq for DeductionStatus
source§fn eq(&self, other: &DeductionStatus) -> bool
fn eq(&self, other: &DeductionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeductionStatus
impl Serialize for DeductionStatus
source§impl TryFrom<&str> for DeductionStatus
impl TryFrom<&str> for DeductionStatus
impl Copy for DeductionStatus
impl Eq for DeductionStatus
impl StructuralPartialEq for DeductionStatus
Auto Trait Implementations§
impl Freeze for DeductionStatus
impl RefUnwindSafe for DeductionStatus
impl Send for DeductionStatus
impl Sync for DeductionStatus
impl Unpin for DeductionStatus
impl UnwindSafe for DeductionStatus
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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