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: f64
The new account balance after completion of the purchase\n
buy_price: String
Actual effected purchase price\n
contract_id: i64
Internal contract identifier\n
longcode: String
The description of contract purchased\n
payout: String
Proposed payout value\n
purchase_time: String
Epoch value of the transaction purchase time\n
shortcode: String
Compact description of the contract purchased\n
start_time: String
Epoch value showing the expected start time of the contract\n
transaction_id: i64
Internal 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