Struct stripe::CreateTaxIdOwner
source · pub struct CreateTaxIdOwner {
pub account: Option<String>,
pub customer: Option<String>,
pub type_: CreateTaxIdOwnerType,
}
Fields§
§account: Option<String>
Account the tax ID belongs to.
Required when type=account
.
customer: Option<String>
Customer the tax ID belongs to.
Required when type=customer
.
type_: CreateTaxIdOwnerType
Type of owner referenced.
Trait Implementations§
source§impl Clone for CreateTaxIdOwner
impl Clone for CreateTaxIdOwner
source§fn clone(&self) -> CreateTaxIdOwner
fn clone(&self) -> CreateTaxIdOwner
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 CreateTaxIdOwner
impl Debug for CreateTaxIdOwner
source§impl Default for CreateTaxIdOwner
impl Default for CreateTaxIdOwner
source§fn default() -> CreateTaxIdOwner
fn default() -> CreateTaxIdOwner
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateTaxIdOwner
impl<'de> Deserialize<'de> for CreateTaxIdOwner
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 Freeze for CreateTaxIdOwner
impl RefUnwindSafe for CreateTaxIdOwner
impl Send for CreateTaxIdOwner
impl Sync for CreateTaxIdOwner
impl Unpin for CreateTaxIdOwner
impl UnwindSafe for CreateTaxIdOwner
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