pub struct OpStat { /* private fields */ }Expand description
Arguments for stat operation.
Implementations§
Source§impl OpStat
impl OpStat
Sourcepub fn if_none_match(&self) -> Option<&str>
pub fn if_none_match(&self) -> Option<&str>
Get If-None-Match from option
Sourcepub fn if_version_match(&self) -> Option<&str>
pub fn if_version_match(&self) -> Option<&str>
Get the version match condition.
Sourcepub fn if_version_not_match(&self) -> Option<&str>
pub fn if_version_not_match(&self) -> Option<&str>
Get the version non-match condition.
Sourcepub fn if_modified_since(&self) -> Option<Timestamp>
pub fn if_modified_since(&self) -> Option<Timestamp>
Get If-Modified-Since from option
Sourcepub fn if_unmodified_since(&self) -> Option<Timestamp>
pub fn if_unmodified_since(&self) -> Option<Timestamp>
Get If-Unmodified-Since from option
Sourcepub fn is_conditional(&self) -> bool
pub fn is_conditional(&self) -> bool
Returns whether at least one value-bearing conditional option is set.
Sourcepub fn override_content_disposition(&self) -> Option<&str>
pub fn override_content_disposition(&self) -> Option<&str>
Returns the content-disposition header that should be sent back by the remote read operation.
Sourcepub fn override_cache_control(&self) -> Option<&str>
pub fn override_cache_control(&self) -> Option<&str>
Returns the cache-control header that should be sent back by the remote read operation.
Sourcepub fn override_content_type(&self) -> Option<&str>
pub fn override_content_type(&self) -> Option<&str>
Returns the content-type header that should be sent back by the remote read operation.
Trait Implementations§
Source§impl From<OpStat> for PresignOperation
impl From<OpStat> for PresignOperation
Source§impl From<StatOptions> for OpStat
impl From<StatOptions> for OpStat
Source§fn from(value: StatOptions) -> Self
fn from(value: StatOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpStat
impl RefUnwindSafe for OpStat
impl Send for OpStat
impl Sync for OpStat
impl Unpin for OpStat
impl UnsafeUnpin for OpStat
impl UnwindSafe for OpStat
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