Enum CoreIntentAction
pub enum CoreIntentAction {
Place,
Amend,
Cancel,
CancelAll,
}Expand description
Platform-core IntentAction used in PendingIntent and Order.
Disambiguated from IntentAction (the strategy-facing type with embedded
order_id) because the two enums serve different layers: strategies emit
IntentAction, while portfolio state stores CoreIntentAction.
Intent action (§8.5).
Variants§
Trait Implementations§
§impl Clone for IntentAction
impl Clone for IntentAction
§fn clone(&self) -> IntentAction
fn clone(&self) -> IntentAction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for IntentAction
impl Debug for IntentAction
§impl<'de> Deserialize<'de> for IntentAction
impl<'de> Deserialize<'de> for IntentAction
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IntentAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IntentAction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Hash for IntentAction
impl Hash for IntentAction
§impl PartialEq for IntentAction
impl PartialEq for IntentAction
§impl Serialize for IntentAction
impl Serialize for IntentAction
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for IntentAction
impl Eq for IntentAction
impl StructuralPartialEq for IntentAction
Auto Trait Implementations§
impl Freeze for IntentAction
impl RefUnwindSafe for IntentAction
impl Send for IntentAction
impl Sync for IntentAction
impl Unpin for IntentAction
impl UnsafeUnpin for IntentAction
impl UnwindSafe for IntentAction
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)