pub struct OpRead { /* private fields */ }Expand description
Arguments for read operation.
Implementations§
Source§impl OpRead
impl OpRead
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.
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>
Return the If-Modified-Since condition.
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpRead
impl RefUnwindSafe for OpRead
impl Send for OpRead
impl Sync for OpRead
impl Unpin for OpRead
impl UnsafeUnpin for OpRead
impl UnwindSafe for OpRead
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