pub struct PlatformTwap {Show 17 fields
pub twap_id: String,
pub side: PlatformTradeSide,
pub status: PlatformTwapState,
pub slices_total: u16,
pub slices_executed: u16,
pub interval_slots: u32,
pub maximum_tolerance_bps: u16,
pub limit_price_atoms: String,
pub total_size_atoms: String,
pub executed_size_atoms: String,
pub gross_quote_executed_atoms: String,
pub complete_execution_value: bool,
pub created_at_ms: u64,
pub completed_at_ms: Option<u64>,
pub placed_signature: Option<String>,
pub terminal_signature: Option<String>,
pub fills: Vec<PlatformTwapFill>,
}Fields§
§twap_id: String§side: PlatformTradeSide§status: PlatformTwapState§slices_total: u16§slices_executed: u16§interval_slots: u32§maximum_tolerance_bps: u16§limit_price_atoms: String§total_size_atoms: String§executed_size_atoms: String§gross_quote_executed_atoms: String§complete_execution_value: bool§created_at_ms: u64§completed_at_ms: Option<u64>§placed_signature: Option<String>§terminal_signature: Option<String>§fills: Vec<PlatformTwapFill>Trait Implementations§
Source§impl Clone for PlatformTwap
impl Clone for PlatformTwap
Source§fn clone(&self) -> PlatformTwap
fn clone(&self) -> PlatformTwap
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformTwap
impl Debug for PlatformTwap
Source§impl<'de> Deserialize<'de> for PlatformTwap
impl<'de> Deserialize<'de> for PlatformTwap
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwap, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformTwap, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformTwap
Source§impl PartialEq for PlatformTwap
impl PartialEq for PlatformTwap
Source§impl Serialize for PlatformTwap
impl Serialize for PlatformTwap
Source§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 StructuralPartialEq for PlatformTwap
Auto Trait Implementations§
impl Freeze for PlatformTwap
impl RefUnwindSafe for PlatformTwap
impl Send for PlatformTwap
impl Sync for PlatformTwap
impl Unpin for PlatformTwap
impl UnsafeUnpin for PlatformTwap
impl UnwindSafe for PlatformTwap
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