pub struct SignObjectUpload {
pub key: ObjectKey,
pub content_type: String,
pub size_bytes: u64,
pub sha256: String,
pub expires_in: TimeDelta,
pub attributes: BTreeMap<String, String>,
}Expand description
Exact provider request for one checksummed direct upload.
Fields§
§key: ObjectKey§content_type: String§size_bytes: u64§sha256: StringLowercase hexadecimal SHA-256 of the complete object body.
expires_in: TimeDelta§attributes: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for SignObjectUpload
impl Clone for SignObjectUpload
Source§fn clone(&self) -> SignObjectUpload
fn clone(&self) -> SignObjectUpload
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 SignObjectUpload
impl Debug for SignObjectUpload
impl Eq for SignObjectUpload
Source§impl PartialEq for SignObjectUpload
impl PartialEq for SignObjectUpload
impl StructuralPartialEq for SignObjectUpload
Auto Trait Implementations§
impl Freeze for SignObjectUpload
impl RefUnwindSafe for SignObjectUpload
impl Send for SignObjectUpload
impl Sync for SignObjectUpload
impl Unpin for SignObjectUpload
impl UnsafeUnpin for SignObjectUpload
impl UnwindSafe for SignObjectUpload
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