pub struct ObjectReadOptions {
pub version_id: Option<String>,
}Expand description
Options for selecting an object version during read and metadata operations.
Fields§
§version_id: Option<String>Exact object version to select. None selects the current object.
Implementations§
Source§impl ObjectReadOptions
impl ObjectReadOptions
Sourcepub fn for_version(version_id: Option<String>) -> Result<Self>
pub fn for_version(version_id: Option<String>) -> Result<Self>
Build read options while rejecting ambiguous empty version identifiers.
Trait Implementations§
Source§impl Clone for ObjectReadOptions
impl Clone for ObjectReadOptions
Source§fn clone(&self) -> ObjectReadOptions
fn clone(&self) -> ObjectReadOptions
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 ObjectReadOptions
impl Debug for ObjectReadOptions
Source§impl Default for ObjectReadOptions
impl Default for ObjectReadOptions
Source§fn default() -> ObjectReadOptions
fn default() -> ObjectReadOptions
Returns the “default value” for a type. Read more
impl Eq for ObjectReadOptions
Source§impl From<ObjectReadOptions> for TransferReadOptions
impl From<ObjectReadOptions> for TransferReadOptions
Source§fn from(value: ObjectReadOptions) -> Self
fn from(value: ObjectReadOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ObjectReadOptions
impl PartialEq for ObjectReadOptions
impl StructuralPartialEq for ObjectReadOptions
Auto Trait Implementations§
impl Freeze for ObjectReadOptions
impl RefUnwindSafe for ObjectReadOptions
impl Send for ObjectReadOptions
impl Sync for ObjectReadOptions
impl Unpin for ObjectReadOptions
impl UnsafeUnpin for ObjectReadOptions
impl UnwindSafe for ObjectReadOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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