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<PaymentResponseModel> for PaymentResponseModel
impl PartialEq<PaymentResponseModel> for PaymentResponseModel
source§fn eq(&self, other: &PaymentResponseModel) -> bool
fn eq(&self, other: &PaymentResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.