pub struct FileExpiresAfter {
pub anchor: FileExpiresAfterAnchor,
pub seconds: u32,
}
Fields§
§anchor: FileExpiresAfterAnchor
Anchor timestamp after which the expiration policy applies. Supported anchors: created_at
.
seconds: u32
The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).
Trait Implementations§
Source§impl Clone for FileExpiresAfter
impl Clone for FileExpiresAfter
Source§fn clone(&self) -> FileExpiresAfter
fn clone(&self) -> FileExpiresAfter
Returns a duplicate 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 Debug for FileExpiresAfter
impl Debug for FileExpiresAfter
Source§impl Default for FileExpiresAfter
impl Default for FileExpiresAfter
Source§fn default() -> FileExpiresAfter
fn default() -> FileExpiresAfter
Returns the “default value” for a type. Read more
Source§impl PartialEq for FileExpiresAfter
impl PartialEq for FileExpiresAfter
impl StructuralPartialEq for FileExpiresAfter
Auto Trait Implementations§
impl Freeze for FileExpiresAfter
impl RefUnwindSafe for FileExpiresAfter
impl Send for FileExpiresAfter
impl Sync for FileExpiresAfter
impl Unpin for FileExpiresAfter
impl UnwindSafe for FileExpiresAfter
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