Struct stripe::CreateTokenAccount
source · pub struct CreateTokenAccount {
pub business_type: Option<CreateTokenAccountBusinessType>,
pub company: Option<CompanyParams>,
pub individual: Option<PersonParams>,
pub tos_shown_and_accepted: Option<bool>,
}
Fields§
§business_type: Option<CreateTokenAccountBusinessType>
The business type.
company: Option<CompanyParams>
Information about the company or business.
individual: Option<PersonParams>
Information about the person represented by the account.
tos_shown_and_accepted: Option<bool>
Whether the user described by the data in the token has been shown the Stripe Connected Account Agreement.
When creating an account token to create a new Connect account, this value must be true
.
Trait Implementations§
source§impl Clone for CreateTokenAccount
impl Clone for CreateTokenAccount
source§fn clone(&self) -> CreateTokenAccount
fn clone(&self) -> CreateTokenAccount
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 CreateTokenAccount
impl Debug for CreateTokenAccount
source§impl Default for CreateTokenAccount
impl Default for CreateTokenAccount
source§fn default() -> CreateTokenAccount
fn default() -> CreateTokenAccount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateTokenAccount
impl<'de> Deserialize<'de> for CreateTokenAccount
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 CreateTokenAccount
impl Send for CreateTokenAccount
impl Sync for CreateTokenAccount
impl Unpin for CreateTokenAccount
impl UnwindSafe for CreateTokenAccount
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