pub struct UpbitOrderInfo {Show 17 fields
pub uuid: SmartString,
pub side: SmartString,
pub ord_type: SmartString,
pub price: Option<SmartString>,
pub state: SmartString,
pub market: SmartString,
pub created_at: SmartString,
pub volume: SmartString,
pub remaining_volume: SmartString,
pub reserved_fee: SmartString,
pub remaining_fee: SmartString,
pub paid_fee: SmartString,
pub locked: SmartString,
pub executed_volume: SmartString,
pub trades_count: u64,
pub time_in_force: Option<SmartString>,
pub identifier: Option<SmartString>,
}Expand description
Order information from Upbit API
Fields§
§uuid: SmartStringOrder UUID
side: SmartStringOrder side (bid/ask)
ord_type: SmartStringOrder type (limit/price/market)
price: Option<SmartString>Order price (optional for market orders)
state: SmartStringOrder state (wait/watch/done/cancel)
market: SmartStringMarket symbol
created_at: SmartStringOrder creation timestamp
volume: SmartStringOrder volume
remaining_volume: SmartStringRemaining volume
reserved_fee: SmartStringReserved fee
remaining_fee: SmartStringRemaining fee
paid_fee: SmartStringPaid fee
locked: SmartStringLocked amount
executed_volume: SmartStringExecuted volume
trades_count: u64Number of trades
time_in_force: Option<SmartString>Time in force (optional)
identifier: Option<SmartString>Client identifier (optional)
Trait Implementations§
Source§impl Clone for UpbitOrderInfo
impl Clone for UpbitOrderInfo
Source§fn clone(&self) -> UpbitOrderInfo
fn clone(&self) -> UpbitOrderInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpbitOrderInfo
impl Debug for UpbitOrderInfo
Source§impl<'de> Deserialize<'de> for UpbitOrderInfo
impl<'de> Deserialize<'de> for UpbitOrderInfo
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 UpbitOrderInfo
impl RefUnwindSafe for UpbitOrderInfo
impl Send for UpbitOrderInfo
impl Sync for UpbitOrderInfo
impl Unpin for UpbitOrderInfo
impl UnwindSafe for UpbitOrderInfo
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