pub struct PurchaseResponse {
pub success: bool,
}Fields§
§success: boolWether the purchase was succesful or not
Trait Implementations§
Source§impl Clone for PurchaseResponse
impl Clone for PurchaseResponse
Source§fn clone(&self) -> PurchaseResponse
fn clone(&self) -> PurchaseResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PurchaseResponse
impl Debug for PurchaseResponse
Source§impl Default for PurchaseResponse
impl Default for PurchaseResponse
Source§fn default() -> PurchaseResponse
fn default() -> PurchaseResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PurchaseResponse
impl<'de> Deserialize<'de> for PurchaseResponse
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 PurchaseResponse
impl RefUnwindSafe for PurchaseResponse
impl Send for PurchaseResponse
impl Sync for PurchaseResponse
impl Unpin for PurchaseResponse
impl UnsafeUnpin for PurchaseResponse
impl UnwindSafe for PurchaseResponse
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