pub struct Buy {
pub balance_after: f64,
pub buy_price: String,
pub contract_id: i64,
pub longcode: String,
pub payout: String,
pub purchase_time: String,
pub shortcode: String,
pub start_time: String,
pub transaction_id: i64,
}Expand description
Receipt confirmation for the purchase
Fields§
§balance_after: f64The new account balance after completion of the purchase\n
buy_price: StringActual effected purchase price\n
contract_id: i64Internal contract identifier\n
longcode: StringThe description of contract purchased\n
payout: StringProposed payout value\n
purchase_time: StringEpoch value of the transaction purchase time\n
shortcode: StringCompact description of the contract purchased\n
start_time: StringEpoch value showing the expected start time of the contract\n
transaction_id: i64Internal transaction identifier\n
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Buy
impl<'de> Deserialize<'de> for Buy
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 Buy
impl RefUnwindSafe for Buy
impl Send for Buy
impl Sync for Buy
impl Unpin for Buy
impl UnwindSafe for Buy
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