pub struct PresignedUrlConfig {
pub expires_in_secs: u64,
pub method: HttpMethod,
pub content_type: Option<String>,
}Expand description
Configuration for presigned URL generation.
Fields§
§expires_in_secs: u64How many seconds the URL should remain valid.
method: HttpMethodHTTP method the presigned URL will allow.
content_type: Option<String>Optional content-type constraint.
Implementations§
Trait Implementations§
Source§impl Clone for PresignedUrlConfig
impl Clone for PresignedUrlConfig
Source§fn clone(&self) -> PresignedUrlConfig
fn clone(&self) -> PresignedUrlConfig
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 PresignedUrlConfig
impl Debug for PresignedUrlConfig
Source§impl PartialEq for PresignedUrlConfig
impl PartialEq for PresignedUrlConfig
impl Eq for PresignedUrlConfig
impl StructuralPartialEq for PresignedUrlConfig
Auto Trait Implementations§
impl Freeze for PresignedUrlConfig
impl RefUnwindSafe for PresignedUrlConfig
impl Send for PresignedUrlConfig
impl Sync for PresignedUrlConfig
impl Unpin for PresignedUrlConfig
impl UnsafeUnpin for PresignedUrlConfig
impl UnwindSafe for PresignedUrlConfig
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