Struct StrategyIntent
pub struct StrategyIntent {
pub intents: Vec<OrderIntent>,
pub intent_version: u16,
pub ctx_state_ref: Option<u64>,
}Expand description
§8.5 — Strategy intent event.
Fields§
§intents: Vec<OrderIntent>§intent_version: u16§ctx_state_ref: Option<u64>Trait Implementations§
§impl Clone for StrategyIntent
impl Clone for StrategyIntent
§fn clone(&self) -> StrategyIntent
fn clone(&self) -> StrategyIntent
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 StrategyIntent
impl Debug for StrategyIntent
§impl<'de> Deserialize<'de> for StrategyIntent
impl<'de> Deserialize<'de> for StrategyIntent
§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
§impl Serialize for StrategyIntent
impl Serialize for StrategyIntent
Auto Trait Implementations§
impl Freeze for StrategyIntent
impl RefUnwindSafe for StrategyIntent
impl Send for StrategyIntent
impl Sync for StrategyIntent
impl Unpin for StrategyIntent
impl UnsafeUnpin for StrategyIntent
impl UnwindSafe for StrategyIntent
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)