Struct stripe::generated::connect::account_link::AccountLink
source · pub struct AccountLink {
pub created: Timestamp,
pub expires_at: Timestamp,
pub url: String,
}
Expand description
The resource representing a Stripe “AccountLink”.
For more details see https://stripe.com/docs/api/account_links/object
Fields§
§created: Timestamp
Time at which the object was created.
Measured in seconds since the Unix epoch.
expires_at: Timestamp
The timestamp at which this account link will expire.
url: String
The URL for the account link.
Implementations§
source§impl AccountLink
impl AccountLink
sourcepub fn create(
client: &Client,
params: CreateAccountLink<'_>
) -> Response<AccountLink>
pub fn create( client: &Client, params: CreateAccountLink<'_> ) -> Response<AccountLink>
Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow.
Trait Implementations§
source§impl Clone for AccountLink
impl Clone for AccountLink
source§fn clone(&self) -> AccountLink
fn clone(&self) -> AccountLink
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 AccountLink
impl Debug for AccountLink
source§impl Default for AccountLink
impl Default for AccountLink
source§fn default() -> AccountLink
fn default() -> AccountLink
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountLink
impl<'de> Deserialize<'de> for AccountLink
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
source§impl Object for AccountLink
impl Object for AccountLink
Auto Trait Implementations§
impl RefUnwindSafe for AccountLink
impl Send for AccountLink
impl Sync for AccountLink
impl Unpin for AccountLink
impl UnwindSafe for AccountLink
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