pub struct FileUploadOptions {
pub expires_after_seconds: Option<u32>,
}Expand description
Optional upload retention. The input itself is always uploaded with purpose batch.
Fields§
§expires_after_seconds: Option<u32>Lifetime from file creation, 3600–2592000 seconds; absent uses the server default.
Trait Implementations§
Source§impl Clone for FileUploadOptions
impl Clone for FileUploadOptions
Source§impl Debug for FileUploadOptions
impl Debug for FileUploadOptions
Auto Trait Implementations§
impl Freeze for FileUploadOptions
impl RefUnwindSafe for FileUploadOptions
impl Send for FileUploadOptions
impl Sync for FileUploadOptions
impl Unpin for FileUploadOptions
impl UnsafeUnpin for FileUploadOptions
impl UnwindSafe for FileUploadOptions
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