pub struct GetSignedUrlOptions {
pub method: SignedUrlMethod,
pub expires: SystemTime,
pub content_type: Option<String>,
}Expand description
Options for generating a signed URL.
Fields§
§method: SignedUrlMethodThe HTTP method to allow.
expires: SystemTimeThe expiration time.
content_type: Option<String>The content type (required if the client provides it).
Trait Implementations§
Source§impl Clone for GetSignedUrlOptions
impl Clone for GetSignedUrlOptions
Source§fn clone(&self) -> GetSignedUrlOptions
fn clone(&self) -> GetSignedUrlOptions
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 moreAuto Trait Implementations§
impl Freeze for GetSignedUrlOptions
impl RefUnwindSafe for GetSignedUrlOptions
impl Send for GetSignedUrlOptions
impl Sync for GetSignedUrlOptions
impl Unpin for GetSignedUrlOptions
impl UnwindSafe for GetSignedUrlOptions
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