pub struct ComposeObjectArgs<'a> {
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 sources: &'a mut Vec<ComposeSource<'a>>,
}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: boolsources: &'a mut Vec<ComposeSource<'a>>Implementations
sourceimpl<'a> ComposeObjectArgs<'a>
impl<'a> ComposeObjectArgs<'a>
pub fn new(
bucket_name: &'a str,
object_name: &'a str,
sources: &'a mut Vec<ComposeSource<'a>>
) -> Result<ComposeObjectArgs<'a>, Error>
pub fn get_headers(&self) -> Multimap
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ComposeObjectArgs<'a>
impl<'a> !Send for ComposeObjectArgs<'a>
impl<'a> !Sync for ComposeObjectArgs<'a>
impl<'a> Unpin for ComposeObjectArgs<'a>
impl<'a> !UnwindSafe for ComposeObjectArgs<'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