Struct stripe::IssuingCardholder
source · [−]pub struct IssuingCardholder {Show 14 fields
pub id: IssuingCardholderId,
pub billing: IssuingCardholderAddress,
pub company: Option<IssuingCardholderCompany>,
pub created: Timestamp,
pub email: Option<String>,
pub individual: Option<IssuingCardholderIndividual>,
pub livemode: bool,
pub metadata: Metadata,
pub name: String,
pub phone_number: Option<String>,
pub requirements: IssuingCardholderRequirements,
pub spending_controls: Option<IssuingCardholderAuthorizationControls>,
pub status: IssuingCardholderStatus,
pub type_: IssuingCardholderType,
}
Expand description
The resource representing a Stripe “IssuingCardholder”.
Fields
id: IssuingCardholderId
Unique identifier for the object.
billing: IssuingCardholderAddress
company: Option<IssuingCardholderCompany>
Additional information about a company
cardholder.
created: Timestamp
Time at which the object was created.
Measured in seconds since the Unix epoch.
email: Option<String>
The cardholder’s email address.
individual: Option<IssuingCardholderIndividual>
Additional information about an individual
cardholder.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
metadata: Metadata
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
name: String
The cardholder’s name.
This will be printed on cards issued to them.
phone_number: Option<String>
The cardholder’s phone number.
This is required for all cardholders who will be creating EU cards. See the 3D Secure documentation for more details.
requirements: IssuingCardholderRequirements
spending_controls: Option<IssuingCardholderAuthorizationControls>
Rules that control spending across this cardholder’s cards.
Refer to our documentation for more details.
status: IssuingCardholderStatus
Specifies whether to permit authorizations on this cardholder’s cards.
type_: IssuingCardholderType
One of individual
or company
.
Trait Implementations
sourceimpl Clone for IssuingCardholder
impl Clone for IssuingCardholder
sourcefn clone(&self) -> IssuingCardholder
fn clone(&self) -> IssuingCardholder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IssuingCardholder
impl Debug for IssuingCardholder
sourceimpl Default for IssuingCardholder
impl Default for IssuingCardholder
sourcefn default() -> IssuingCardholder
fn default() -> IssuingCardholder
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for IssuingCardholder
impl<'de> Deserialize<'de> for IssuingCardholder
sourcefn 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
sourceimpl Object for IssuingCardholder
impl Object for IssuingCardholder
sourceimpl Serialize for IssuingCardholder
impl Serialize for IssuingCardholder
Auto Trait Implementations
impl RefUnwindSafe for IssuingCardholder
impl Send for IssuingCardholder
impl Sync for IssuingCardholder
impl Unpin for IssuingCardholder
impl UnwindSafe for IssuingCardholder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more