Struct stripe::model::SetupIntent
source · pub struct SetupIntent {Show 25 fields
pub application: Option<Value>,
pub attach_to_self: Option<bool>,
pub automatic_payment_methods: Option<Value>,
pub cancellation_reason: Option<String>,
pub client_secret: Option<String>,
pub created: i64,
pub customer: Option<Value>,
pub description: Option<String>,
pub flow_directions: Option<Vec<String>>,
pub id: String,
pub last_setup_error: Option<Value>,
pub latest_attempt: Option<Value>,
pub livemode: bool,
pub mandate: Option<Value>,
pub metadata: Option<Value>,
pub next_action: Option<Value>,
pub object: String,
pub on_behalf_of: Option<Value>,
pub payment_method: Option<Value>,
pub payment_method_configuration_details: Option<Value>,
pub payment_method_options: Option<Value>,
pub payment_method_types: Vec<String>,
pub single_use_mandate: Option<Value>,
pub status: String,
pub usage: String,
}Fields§
§application: Option<Value>§attach_to_self: Option<bool>§automatic_payment_methods: Option<Value>§cancellation_reason: Option<String>§client_secret: Option<String>§created: i64§customer: Option<Value>§description: Option<String>§flow_directions: Option<Vec<String>>§id: String§last_setup_error: Option<Value>§latest_attempt: Option<Value>§livemode: bool§mandate: Option<Value>§metadata: Option<Value>§next_action: Option<Value>§object: String§on_behalf_of: Option<Value>§payment_method: Option<Value>§payment_method_configuration_details: Option<Value>§payment_method_options: Option<Value>§payment_method_types: Vec<String>§single_use_mandate: Option<Value>§status: String§usage: StringTrait Implementations§
source§impl Clone for SetupIntent
impl Clone for SetupIntent
source§fn clone(&self) -> SetupIntent
fn clone(&self) -> SetupIntent
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 SetupIntent
impl Debug for SetupIntent
source§impl Default for SetupIntent
impl Default for SetupIntent
source§fn default() -> SetupIntent
fn default() -> SetupIntent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetupIntent
impl<'de> Deserialize<'de> for SetupIntent
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 Display for SetupIntent
impl Display for SetupIntent
Auto Trait Implementations§
impl RefUnwindSafe for SetupIntent
impl Send for SetupIntent
impl Sync for SetupIntent
impl Unpin for SetupIntent
impl UnwindSafe for SetupIntent
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