pub struct OpCompose { /* private fields */ }Expand description
Arguments for compose operation.
Implementations§
Source§impl OpCompose
impl OpCompose
Sourcepub fn from_options(
capability: &Capability,
options: ComposeOptions,
) -> Result<Self>
pub fn from_options( capability: &Capability, options: ComposeOptions, ) -> Result<Self>
Sourcepub fn concurrent(&self) -> usize
pub fn concurrent(&self) -> usize
Get the maximum concurrent composition task count.
Sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
Get destination Content-Type metadata.
Sourcepub fn content_disposition(&self) -> Option<&str>
pub fn content_disposition(&self) -> Option<&str>
Get destination Content-Disposition metadata.
Sourcepub fn content_encoding(&self) -> Option<&str>
pub fn content_encoding(&self) -> Option<&str>
Get destination Content-Encoding metadata.
Sourcepub fn cache_control(&self) -> Option<&str>
pub fn cache_control(&self) -> Option<&str>
Get destination Cache-Control metadata.
Sourcepub fn user_metadata(&self) -> Option<UserMetadata<'_>>
pub fn user_metadata(&self) -> Option<UserMetadata<'_>>
Get destination user metadata.
Sourcepub fn if_none_match(&self) -> Option<&str>
pub fn if_none_match(&self) -> Option<&str>
Get the destination ETag non-match condition.
Sourcepub fn if_version_match(&self) -> Option<&str>
pub fn if_version_match(&self) -> Option<&str>
Get the destination version match condition.
Sourcepub fn if_version_not_match(&self) -> Option<&str>
pub fn if_version_not_match(&self) -> Option<&str>
Get the destination version non-match condition.
Sourcepub fn if_not_exists(&self) -> bool
pub fn if_not_exists(&self) -> bool
Get whether composition requires a missing destination.
Sourcepub fn is_conditional(&self) -> bool
pub fn is_conditional(&self) -> bool
Returns whether at least one conditional option is set.
Value-bearing options are set when present. Boolean options are set only
when their value is true.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpCompose
impl RefUnwindSafe for OpCompose
impl Send for OpCompose
impl Sync for OpCompose
impl Unpin for OpCompose
impl UnsafeUnpin for OpCompose
impl UnwindSafe for OpCompose
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