pub struct PresignedObjectRequest {
pub method: PresignedMethod,
pub url: String,
pub headers: BTreeMap<String, String>,
pub form_fields: BTreeMap<String, String>,
pub expires_at: DateTime<Utc>,
}Expand description
Browser- or client-usable request produced by a provider adapter such as S3.
form_fields is populated for multipart POST uploads. This is required for
providers such as S3 where the signed POST policy, rather than a presigned
PUT URL, enforces an upload-size range.
Fields§
§method: PresignedMethod§url: String§headers: BTreeMap<String, String>§form_fields: BTreeMap<String, String>§expires_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for PresignedObjectRequest
impl Clone for PresignedObjectRequest
Source§fn clone(&self) -> PresignedObjectRequest
fn clone(&self) -> PresignedObjectRequest
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 PresignedObjectRequest
impl Debug for PresignedObjectRequest
Source§impl<'de> Deserialize<'de> for PresignedObjectRequest
impl<'de> Deserialize<'de> for PresignedObjectRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PresignedObjectRequest
Source§impl PartialEq for PresignedObjectRequest
impl PartialEq for PresignedObjectRequest
Source§impl Serialize for PresignedObjectRequest
impl Serialize for PresignedObjectRequest
impl StructuralPartialEq for PresignedObjectRequest
Auto Trait Implementations§
impl Freeze for PresignedObjectRequest
impl RefUnwindSafe for PresignedObjectRequest
impl Send for PresignedObjectRequest
impl Sync for PresignedObjectRequest
impl Unpin for PresignedObjectRequest
impl UnsafeUnpin for PresignedObjectRequest
impl UnwindSafe for PresignedObjectRequest
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