pub struct CommandEffects { /* private fields */ }Expand description
Effects from the execution of a command
Implementations§
Source§impl CommandEffects
impl CommandEffects
Sourcepub fn target_order(&self) -> &OrderOutcome
pub fn target_order(&self) -> &OrderOutcome
Get the outcome of the order that was explicitly targeted by the command
Sourcepub fn triggered_orders(&self) -> &[OrderOutcome]
pub fn triggered_orders(&self) -> &[OrderOutcome]
Get the outcomes of the other orders whose state changed as a consequence (e.g., inactive pegged orders becoming active)
Trait Implementations§
Source§impl Clone for CommandEffects
impl Clone for CommandEffects
Source§fn clone(&self) -> CommandEffects
fn clone(&self) -> CommandEffects
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 CommandEffects
impl Debug for CommandEffects
Source§impl<'de> Deserialize<'de> for CommandEffects
impl<'de> Deserialize<'de> for CommandEffects
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 Display for CommandEffects
impl Display for CommandEffects
Auto Trait Implementations§
impl Freeze for CommandEffects
impl RefUnwindSafe for CommandEffects
impl Send for CommandEffects
impl Sync for CommandEffects
impl Unpin for CommandEffects
impl UnsafeUnpin for CommandEffects
impl UnwindSafe for CommandEffects
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