pub struct EphemeralKey {
pub created: Timestamp,
pub expires: Timestamp,
pub id: EphemeralKeyId,
pub livemode: bool,
pub secret: Option<String>,
}
Fields§
§created: Timestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
expires: Timestamp
Time at which the key will expire. Measured in seconds since the Unix epoch.
id: EphemeralKeyId
Unique identifier for the object.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
secret: Option<String>
The key’s secret. You can use this value to make authorized requests to the Stripe API.
Trait Implementations§
Source§impl Clone for EphemeralKey
impl Clone for EphemeralKey
Source§fn clone(&self) -> EphemeralKey
fn clone(&self) -> EphemeralKey
Returns a duplicate 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 EphemeralKey
impl Debug for EphemeralKey
Source§impl Deserialize for EphemeralKey
impl Deserialize for EphemeralKey
Source§impl FromValueOpt for EphemeralKey
impl FromValueOpt for EphemeralKey
fn from_value(v: Value) -> Option<Self>
Source§impl Object for EphemeralKey
impl Object for EphemeralKey
Source§impl ObjectDeser for EphemeralKey
impl ObjectDeser for EphemeralKey
Auto Trait Implementations§
impl Freeze for EphemeralKey
impl RefUnwindSafe for EphemeralKey
impl Send for EphemeralKey
impl Sync for EphemeralKey
impl Unpin for EphemeralKey
impl UnwindSafe for EphemeralKey
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