pub struct ObjectDownloadPolicy { /* private fields */ }Implementations§
Source§impl ObjectDownloadPolicy
impl ObjectDownloadPolicy
pub fn new( expires_in: TimeDelta, cache: DownloadCachePolicy, ) -> Result<Self, ObjectTransferError>
Trait Implementations§
Source§impl Clone for ObjectDownloadPolicy
impl Clone for ObjectDownloadPolicy
Source§fn clone(&self) -> ObjectDownloadPolicy
fn clone(&self) -> ObjectDownloadPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectDownloadPolicy
impl Debug for ObjectDownloadPolicy
impl Eq for ObjectDownloadPolicy
Source§impl PartialEq for ObjectDownloadPolicy
impl PartialEq for ObjectDownloadPolicy
impl StructuralPartialEq for ObjectDownloadPolicy
Auto Trait Implementations§
impl Freeze for ObjectDownloadPolicy
impl RefUnwindSafe for ObjectDownloadPolicy
impl Send for ObjectDownloadPolicy
impl Sync for ObjectDownloadPolicy
impl Unpin for ObjectDownloadPolicy
impl UnsafeUnpin for ObjectDownloadPolicy
impl UnwindSafe for ObjectDownloadPolicy
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.