pub enum TerminalStatus {
Completed,
Cancelled,
Expired,
}Expand description
Terminal state of a DeFi order lifecycle.
Variants§
Completed
All fills executed — order fully satisfied.
Cancelled
User or protocol explicitly cancelled the order.
Expired
Order reached its expiration time without completing.
Trait Implementations§
Source§impl AsRef<str> for TerminalStatus
impl AsRef<str> for TerminalStatus
Source§impl Clone for TerminalStatus
impl Clone for TerminalStatus
Source§fn clone(&self) -> TerminalStatus
fn clone(&self) -> TerminalStatus
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 TerminalStatus
impl Debug for TerminalStatus
Source§impl Display for TerminalStatus
impl Display for TerminalStatus
Source§impl FromStr for TerminalStatus
impl FromStr for TerminalStatus
Source§impl PartialEq for TerminalStatus
impl PartialEq for TerminalStatus
Source§impl TryFrom<&str> for TerminalStatus
impl TryFrom<&str> for TerminalStatus
impl Copy for TerminalStatus
impl Eq for TerminalStatus
impl StructuralPartialEq for TerminalStatus
Auto Trait Implementations§
impl Freeze for TerminalStatus
impl RefUnwindSafe for TerminalStatus
impl Send for TerminalStatus
impl Sync for TerminalStatus
impl Unpin for TerminalStatus
impl UnsafeUnpin for TerminalStatus
impl UnwindSafe for TerminalStatus
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