pub struct PaymentResponseModel {
pub object: Option<String>,
pub user_profile: Option<Box<ProfileResponseModel>>,
pub payment_intent_client_secret: Option<String>,
pub success: Option<bool>,
}
Fields§
§object: Option<String>
§user_profile: Option<Box<ProfileResponseModel>>
§payment_intent_client_secret: Option<String>
§success: Option<bool>
Implementations§
Source§impl PaymentResponseModel
impl PaymentResponseModel
pub fn new() -> PaymentResponseModel
Trait Implementations§
Source§impl Clone for PaymentResponseModel
impl Clone for PaymentResponseModel
Source§fn clone(&self) -> PaymentResponseModel
fn clone(&self) -> PaymentResponseModel
Returns a copy of the value. Read more
1.0.0 · 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 PaymentResponseModel
impl Debug for PaymentResponseModel
Source§impl Default for PaymentResponseModel
impl Default for PaymentResponseModel
Source§fn default() -> PaymentResponseModel
fn default() -> PaymentResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentResponseModel
impl<'de> Deserialize<'de> for PaymentResponseModel
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
Source§impl PartialEq for PaymentResponseModel
impl PartialEq for PaymentResponseModel
Source§impl Serialize for PaymentResponseModel
impl Serialize for PaymentResponseModel
impl StructuralPartialEq for PaymentResponseModel
Auto Trait Implementations§
impl Freeze for PaymentResponseModel
impl RefUnwindSafe for PaymentResponseModel
impl Send for PaymentResponseModel
impl Sync for PaymentResponseModel
impl Unpin for PaymentResponseModel
impl UnwindSafe for PaymentResponseModel
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