pub struct PaymentSetupIntent {
pub id: Option<String>,
pub client_secret: Option<String>,
}Fields§
§id: Option<String>§client_secret: Option<String>Implementations§
Source§impl PaymentSetupIntent
impl PaymentSetupIntent
pub fn new() -> PaymentSetupIntent
Trait Implementations§
Source§impl Clone for PaymentSetupIntent
impl Clone for PaymentSetupIntent
Source§fn clone(&self) -> PaymentSetupIntent
fn clone(&self) -> PaymentSetupIntent
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 PaymentSetupIntent
impl Debug for PaymentSetupIntent
Source§impl Default for PaymentSetupIntent
impl Default for PaymentSetupIntent
Source§fn default() -> PaymentSetupIntent
fn default() -> PaymentSetupIntent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentSetupIntent
impl<'de> Deserialize<'de> for PaymentSetupIntent
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 PaymentSetupIntent
impl PartialEq for PaymentSetupIntent
Source§impl Serialize for PaymentSetupIntent
impl Serialize for PaymentSetupIntent
impl StructuralPartialEq for PaymentSetupIntent
Auto Trait Implementations§
impl Freeze for PaymentSetupIntent
impl RefUnwindSafe for PaymentSetupIntent
impl Send for PaymentSetupIntent
impl Sync for PaymentSetupIntent
impl Unpin for PaymentSetupIntent
impl UnsafeUnpin for PaymentSetupIntent
impl UnwindSafe for PaymentSetupIntent
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