Struct stripe::CreateFileLink
source · 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>The link isn’t usable after this future timestamp.
file: FileIdThe 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, tax_document_user_upload, or terminal_reader_splashscreen.
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§
source§impl<'a> Clone for CreateFileLink<'a>
impl<'a> Clone for CreateFileLink<'a>
source§fn clone(&self) -> CreateFileLink<'a>
fn clone(&self) -> CreateFileLink<'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 CreateFileLink<'a>
impl<'a> Debug for CreateFileLink<'a>
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§
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