1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
// ======================================
// This file was automatically generated.
// ======================================
use serde::{Deserialize, Serialize};
use crate::params::{Object, Timestamp};
/// The resource representing a Stripe "LoginLink".
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
pub struct LoginLink {
/// Time at which the object was created.
///
/// Measured in seconds since the Unix epoch.
pub created: Timestamp,
/// The URL for the login link.
pub url: String,
}
impl Object for LoginLink {
type Id = ();
fn id(&self) -> Self::Id {}
fn object(&self) -> &'static str {
"login_link"
}
}