pub struct CopyObjectArgs<'a> {Show 14 fields
pub extra_headers: Option<&'a Multimap>,
pub extra_query_params: Option<&'a Multimap>,
pub region: Option<&'a str>,
pub bucket: &'a str,
pub object: &'a str,
pub headers: Option<&'a Multimap>,
pub user_metadata: Option<&'a Multimap>,
pub sse: Option<&'a dyn Sse>,
pub tags: Option<&'a HashMap<String, String>>,
pub retention: Option<&'a Retention>,
pub legal_hold: bool,
pub source: CopySource<'a>,
pub metadata_directive: Option<Directive>,
pub tagging_directive: Option<Directive>,
}Fields
extra_headers: Option<&'a Multimap>extra_query_params: Option<&'a Multimap>region: Option<&'a str>bucket: &'a strobject: &'a strheaders: Option<&'a Multimap>user_metadata: Option<&'a Multimap>sse: Option<&'a dyn Sse>retention: Option<&'a Retention>legal_hold: boolsource: CopySource<'a>metadata_directive: Option<Directive>tagging_directive: Option<Directive>Implementations
sourceimpl<'a> CopyObjectArgs<'a>
impl<'a> CopyObjectArgs<'a>
pub fn new(
bucket_name: &'a str,
object_name: &'a str,
source: CopySource<'a>
) -> Result<CopyObjectArgs<'a>, Error>
pub fn get_headers(&self) -> Multimap
Trait Implementations
sourceimpl<'a> Clone for CopyObjectArgs<'a>
impl<'a> Clone for CopyObjectArgs<'a>
sourcefn clone(&self) -> CopyObjectArgs<'a>
fn clone(&self) -> CopyObjectArgs<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for CopyObjectArgs<'a>
impl<'a> Debug for CopyObjectArgs<'a>
sourceimpl<'a> Default for CopyObjectArgs<'a>
impl<'a> Default for CopyObjectArgs<'a>
sourcefn default() -> CopyObjectArgs<'a>
fn default() -> CopyObjectArgs<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CopyObjectArgs<'a>
impl<'a> !Send for CopyObjectArgs<'a>
impl<'a> !Sync for CopyObjectArgs<'a>
impl<'a> Unpin for CopyObjectArgs<'a>
impl<'a> !UnwindSafe for CopyObjectArgs<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more