Struct stripe::CreateFileLink [−][src]
pub struct CreateFileLink<'a> {
pub expand: &'a [&'a str],
pub expires_at: Option<Timestamp>,
pub file: FileId,
pub metadata: Option<Metadata>,
}
Expand description
The parameters for FileLink::create
.
Fields
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
expires_at: Option<Timestamp>
A future timestamp after which the link will no longer be usable.
file: FileId
The ID of the file.
The file’s purpose
must be one of the following: business_icon
, business_logo
, customer_signature
, dispute_evidence
, finance_report_run
, identity_document_downloadable
, pci_document
, selfie
, sigma_scheduled_query
, or tax_document_user_upload
.
metadata: Option<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.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for CreateFileLink<'a>
impl<'a> Send for CreateFileLink<'a>
impl<'a> Sync for CreateFileLink<'a>
impl<'a> Unpin for CreateFileLink<'a>
impl<'a> UnwindSafe for CreateFileLink<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more