pub struct UpdateFileLink<'a> {
pub expand: &'a [&'a str],
pub expires_at: Option<Scheduled>,
pub metadata: Option<Metadata>,
}
Expand description
The parameters for FileLink::update
.
Fields§
§expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
expires_at: Option<Scheduled>
A future timestamp after which the link will no longer be usable, or now
to expire the link immediately.
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§
source§impl<'a> UpdateFileLink<'a>
impl<'a> UpdateFileLink<'a>
Trait Implementations§
source§impl<'a> Clone for UpdateFileLink<'a>
impl<'a> Clone for UpdateFileLink<'a>
source§fn clone(&self) -> UpdateFileLink<'a>
fn clone(&self) -> UpdateFileLink<'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 UpdateFileLink<'a>
impl<'a> Debug for UpdateFileLink<'a>
source§impl<'a> Default for UpdateFileLink<'a>
impl<'a> Default for UpdateFileLink<'a>
source§fn default() -> UpdateFileLink<'a>
fn default() -> UpdateFileLink<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for UpdateFileLink<'a>
impl<'a> RefUnwindSafe for UpdateFileLink<'a>
impl<'a> Send for UpdateFileLink<'a>
impl<'a> Sync for UpdateFileLink<'a>
impl<'a> Unpin for UpdateFileLink<'a>
impl<'a> UnwindSafe for UpdateFileLink<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)