Type Alias QpOutboundMessage
pub type QpOutboundMessage = QpServerMessage;
pub enum QpOutboundMessage {
Authenticated {
wallet: String,
},
AuthFailed {
reason: String,
},
RfqRequest {
rfq_id: String,
legs: Vec<QpRfqLeg>,
taker_wallet: String,
request_timestamp: u64,
response_deadline_ms: u64,
auto_accept_limit: Option<String>,
auto_execute: bool,
taker_limit_price: Option<String>,
reference_price: Option<String>,
min_improvement_tick: Option<String>,
auction_deadline_ms: Option<u64>,
requires_price_improvement: bool,
},
QpMarginRejection {
rfq_id: String,
quote_id: String,
reason: String,
},
RfqAlreadyFilled {
rfq_id: String,
filled_by_quote_id: String,
},
}