Struct stripe::generated::checkout::checkout_session::CreateCheckoutSessionPaymentMethodOptionsPix
source · pub struct CreateCheckoutSessionPaymentMethodOptionsPix {
pub expires_after_seconds: Option<i64>,
}
Fields§
§expires_after_seconds: Option<i64>
The number of seconds (between 10 and 1209600) after which Pix payment will expire.
Defaults to 86400 seconds.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionPaymentMethodOptionsPix
impl Clone for CreateCheckoutSessionPaymentMethodOptionsPix
source§fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptionsPix
fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptionsPix
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 Default for CreateCheckoutSessionPaymentMethodOptionsPix
impl Default for CreateCheckoutSessionPaymentMethodOptionsPix
source§fn default() -> CreateCheckoutSessionPaymentMethodOptionsPix
fn default() -> CreateCheckoutSessionPaymentMethodOptionsPix
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentMethodOptionsPix
impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentMethodOptionsPix
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 RefUnwindSafe for CreateCheckoutSessionPaymentMethodOptionsPix
impl Send for CreateCheckoutSessionPaymentMethodOptionsPix
impl Sync for CreateCheckoutSessionPaymentMethodOptionsPix
impl Unpin for CreateCheckoutSessionPaymentMethodOptionsPix
impl UnwindSafe for CreateCheckoutSessionPaymentMethodOptionsPix
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