pub struct MultipartCopyOptions {
pub source_size: u64,
pub source_etag: String,
pub source_version_id: Option<String>,
pub preferred_part_size: Option<u64>,
pub content_type: Option<String>,
pub metadata: HashMap<String, String>,
}Expand description
Inputs required for a consistent multipart server-side copy.
Fields§
§source_size: u64Logical source size used to build part ranges.
source_etag: StringETag sent as x-amz-copy-source-if-match on every part.
source_version_id: Option<String>Exact historical source version, when selected.
preferred_part_size: Option<u64>Optional preferred part size.
content_type: Option<String>Destination content type inherited from the source.
metadata: HashMap<String, String>Destination user metadata inherited from the source.
Implementations§
Trait Implementations§
Source§impl Clone for MultipartCopyOptions
impl Clone for MultipartCopyOptions
Source§fn clone(&self) -> MultipartCopyOptions
fn clone(&self) -> MultipartCopyOptions
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 MultipartCopyOptions
impl Debug for MultipartCopyOptions
impl Eq for MultipartCopyOptions
Source§impl PartialEq for MultipartCopyOptions
impl PartialEq for MultipartCopyOptions
impl StructuralPartialEq for MultipartCopyOptions
Auto Trait Implementations§
impl Freeze for MultipartCopyOptions
impl RefUnwindSafe for MultipartCopyOptions
impl Send for MultipartCopyOptions
impl Sync for MultipartCopyOptions
impl Unpin for MultipartCopyOptions
impl UnsafeUnpin for MultipartCopyOptions
impl UnwindSafe for MultipartCopyOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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