pub struct FileLink {
pub created: i64,
pub expired: bool,
pub expires_at: Option<i64>,
pub file: Value,
pub id: String,
pub livemode: bool,
pub metadata: Value,
pub object: String,
pub url: Option<String>,
}Expand description
To share the contents of a File object with non-Stripe users, you can
create a FileLink. FileLinks contain a URL that you can use to
retrieve the contents of the file without authentication.
Fields§
§created: i64Time at which the object was created. Measured in seconds since the Unix epoch.
expired: boolReturns if the link is already expired.
expires_at: Option<i64>Time that the link expires.
file: ValueThe file object this link points to.
id: StringUnique identifier for the object.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
metadata: ValueSet 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.
object: StringString representing the object’s type. Objects of the same type share the same value.
url: Option<String>The publicly accessible URL to download the file.