Struct frankenstein::objects::PreCheckoutQuery [−][src]
pub struct PreCheckoutQuery {
pub id: String,
pub from: User,
pub currency: String,
pub total_amount: u32,
pub invoice_payload: String,
pub shipping_option_id: Option<String>,
pub order_info: Option<OrderInfo>,
}
Fields
id: String
from: User
currency: String
total_amount: u32
invoice_payload: String
shipping_option_id: Option<String>
order_info: Option<OrderInfo>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PreCheckoutQuery
impl Send for PreCheckoutQuery
impl Sync for PreCheckoutQuery
impl Unpin for PreCheckoutQuery
impl UnwindSafe for PreCheckoutQuery
Blanket Implementations
Mutably borrows from an owned value. Read more