Struct stripe::generated::core::ephemeral_key::CreateEphemeralKey
source · pub struct CreateEphemeralKey<'a> {
pub customer: Option<CustomerId>,
pub expand: &'a [&'a str],
pub issuing_card: Option<IssuingCardId>,
pub nonce: Option<&'a str>,
pub verification_session: Option<&'a str>,
}
Expand description
The parameters for EphemeralKey::create
.
Fields§
§customer: Option<CustomerId>
The ID of the Customer you’d like to modify using the resulting ephemeral key.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
issuing_card: Option<IssuingCardId>
The ID of the Issuing Card you’d like to access using the resulting ephemeral key.
nonce: Option<&'a str>
A single-use token, created by Stripe.js, used for creating ephemeral keys for Issuing Cards without exchanging sensitive information.
verification_session: Option<&'a str>
The ID of the Identity VerificationSession you’d like to access using the resulting ephemeral key.
Implementations§
source§impl<'a> CreateEphemeralKey<'a>
impl<'a> CreateEphemeralKey<'a>
Trait Implementations§
source§impl<'a> Clone for CreateEphemeralKey<'a>
impl<'a> Clone for CreateEphemeralKey<'a>
source§fn clone(&self) -> CreateEphemeralKey<'a>
fn clone(&self) -> CreateEphemeralKey<'a>
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<'a> Debug for CreateEphemeralKey<'a>
impl<'a> Debug for CreateEphemeralKey<'a>
source§impl<'a> Default for CreateEphemeralKey<'a>
impl<'a> Default for CreateEphemeralKey<'a>
source§fn default() -> CreateEphemeralKey<'a>
fn default() -> CreateEphemeralKey<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CreateEphemeralKey<'a>
impl<'a> RefUnwindSafe for CreateEphemeralKey<'a>
impl<'a> Send for CreateEphemeralKey<'a>
impl<'a> Sync for CreateEphemeralKey<'a>
impl<'a> Unpin for CreateEphemeralKey<'a>
impl<'a> UnwindSafe for CreateEphemeralKey<'a>
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