pub struct TriggerV2OrderResponse {
pub deposit_confirmed: bool,
pub id: String,
pub message: Option<String>,
pub tx_signature: String,
}Expand description
Response for a price order create. The deposit lands synchronously during the call, so depositConfirmed is returned. DCA create and confirm-cancel use TxSignatureResponse instead.
Fields§
§deposit_confirmed: boolWhether the deposit has landed and the order is active
id: StringOrder UUID
message: Option<String>Additional context about the deposit state, present on idempotent retries
tx_signature: StringOn-chain signature of the deposit transaction
Trait Implementations§
Source§impl Clone for TriggerV2OrderResponse
impl Clone for TriggerV2OrderResponse
Source§fn clone(&self) -> TriggerV2OrderResponse
fn clone(&self) -> TriggerV2OrderResponse
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 TriggerV2OrderResponse
impl Debug for TriggerV2OrderResponse
Source§impl<'de> Deserialize<'de> for TriggerV2OrderResponse
impl<'de> Deserialize<'de> for TriggerV2OrderResponse
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
Auto Trait Implementations§
impl Freeze for TriggerV2OrderResponse
impl RefUnwindSafe for TriggerV2OrderResponse
impl Send for TriggerV2OrderResponse
impl Sync for TriggerV2OrderResponse
impl Unpin for TriggerV2OrderResponse
impl UnsafeUnpin for TriggerV2OrderResponse
impl UnwindSafe for TriggerV2OrderResponse
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