pub struct PreSignedURLInput { /* private fields */ }Implementations§
Source§impl PreSignedURLInput
impl PreSignedURLInput
pub fn new(bucket: impl Into<String>) -> Self
pub fn new_with_key(bucket: impl Into<String>, key: impl Into<String>) -> Self
pub fn http_method(&self) -> &HttpMethodType
pub fn bucket(&self) -> &str
pub fn key(&self) -> &str
pub fn expires(&self) -> i64
pub fn header(&self) -> &HashMap<String, String>
pub fn query(&self) -> &HashMap<String, String>
pub fn alternative_endpoint(&self) -> &str
pub fn is_custom_domain(&self) -> Option<bool>
pub fn is_signed_all_headers(&self) -> bool
pub fn set_http_method(&mut self, http_method: impl Into<HttpMethodType>)
pub fn set_bucket(&mut self, bucket: impl Into<String>)
pub fn set_key(&mut self, key: impl Into<String>)
pub fn set_expires(&mut self, expires: i64)
pub fn set_header(&mut self, header: impl Into<HashMap<String, String>>)
pub fn set_query(&mut self, query: impl Into<HashMap<String, String>>)
pub fn set_alternative_endpoint( &mut self, alternative_endpoint: impl Into<String>, )
pub fn set_is_custom_domain(&mut self, is_custom_domain: impl Into<bool>)
pub fn set_is_signed_all_headers(&mut self, is_signed_all_headers: bool)
Trait Implementations§
Source§impl Clone for PreSignedURLInput
impl Clone for PreSignedURLInput
Source§fn clone(&self) -> PreSignedURLInput
fn clone(&self) -> PreSignedURLInput
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 PreSignedURLInput
impl Debug for PreSignedURLInput
Source§impl Default for PreSignedURLInput
impl Default for PreSignedURLInput
Source§fn default() -> PreSignedURLInput
fn default() -> PreSignedURLInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for PreSignedURLInput
impl PartialEq for PreSignedURLInput
impl StructuralPartialEq for PreSignedURLInput
Auto Trait Implementations§
impl Freeze for PreSignedURLInput
impl RefUnwindSafe for PreSignedURLInput
impl Send for PreSignedURLInput
impl Sync for PreSignedURLInput
impl Unpin for PreSignedURLInput
impl UnsafeUnpin for PreSignedURLInput
impl UnwindSafe for PreSignedURLInput
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