pub struct CopyObjectOptions {
pub source_version_id: Option<String>,
}Expand description
Request options for a server-side object copy.
Fields§
§source_version_id: Option<String>Exact historical source version to copy. None selects the current source.
Implementations§
Source§impl CopyObjectOptions
impl CopyObjectOptions
Sourcepub fn for_source_version(source_version_id: Option<String>) -> Result<Self>
pub fn for_source_version(source_version_id: Option<String>) -> Result<Self>
Build copy options while rejecting an ambiguous empty source version identifier.
Trait Implementations§
Source§impl Clone for CopyObjectOptions
impl Clone for CopyObjectOptions
Source§fn clone(&self) -> CopyObjectOptions
fn clone(&self) -> CopyObjectOptions
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 CopyObjectOptions
impl Debug for CopyObjectOptions
Source§impl Default for CopyObjectOptions
impl Default for CopyObjectOptions
Source§fn default() -> CopyObjectOptions
fn default() -> CopyObjectOptions
Returns the “default value” for a type. Read more
impl Eq for CopyObjectOptions
Source§impl PartialEq for CopyObjectOptions
impl PartialEq for CopyObjectOptions
impl StructuralPartialEq for CopyObjectOptions
Auto Trait Implementations§
impl Freeze for CopyObjectOptions
impl RefUnwindSafe for CopyObjectOptions
impl Send for CopyObjectOptions
impl Sync for CopyObjectOptions
impl Unpin for CopyObjectOptions
impl UnsafeUnpin for CopyObjectOptions
impl UnwindSafe for CopyObjectOptions
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