pub struct ReadOptions {
pub offset: Option<u64>,
pub length: Option<u64>,
pub if_match: Option<String>,
pub if_none_match: Option<String>,
pub checksum: ChecksumPolicy,
}Expand description
Options controlling a read operation.
Fields§
§offset: Option<u64>Optional byte offset.
length: Option<u64>Optional byte length.
if_match: Option<String>Optional required ETag or provider version.
if_none_match: Option<String>Optional ETag or provider version that must not match.
checksum: ChecksumPolicyChecksum validation policy.
Trait Implementations§
Source§impl Clone for ReadOptions
impl Clone for ReadOptions
Source§fn clone(&self) -> ReadOptions
fn clone(&self) -> ReadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadOptions
impl Debug for ReadOptions
Source§impl Default for ReadOptions
impl Default for ReadOptions
Source§fn default() -> ReadOptions
fn default() -> ReadOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReadOptions
impl PartialEq for ReadOptions
Source§fn eq(&self, other: &ReadOptions) -> bool
fn eq(&self, other: &ReadOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReadOptions
impl StructuralPartialEq for ReadOptions
Auto Trait Implementations§
impl Freeze for ReadOptions
impl RefUnwindSafe for ReadOptions
impl Send for ReadOptions
impl Sync for ReadOptions
impl Unpin for ReadOptions
impl UnsafeUnpin for ReadOptions
impl UnwindSafe for ReadOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.