pub enum S3syncObject {
NotVersioning(Object),
Versioning(ObjectVersion),
DeleteMarker(DeleteMarkerEntry),
PackedVersions(PackedObjectVersions),
}Variants§
NotVersioning(Object)
Versioning(ObjectVersion)
DeleteMarker(DeleteMarkerEntry)
PackedVersions(PackedObjectVersions)
Implementations§
Source§impl S3syncObject
impl S3syncObject
pub fn key(&self) -> &str
pub fn last_modified(&self) -> &DateTime
pub fn size(&self) -> i64
pub fn version_id(&self) -> Option<&str>
pub fn e_tag(&self) -> Option<&str>
pub fn checksum_algorithm(&self) -> Option<&[ChecksumAlgorithm]>
pub fn checksum_type(&self) -> Option<&ChecksumType>
pub fn is_latest(&self) -> bool
pub fn is_delete_marker(&self) -> bool
pub fn clone_non_versioning_object_with_key(object: &Object, key: &str) -> Self
pub fn clone_versioning_object_with_key( object: &ObjectVersion, key: &str, ) -> Self
pub fn clone_delete_marker_with_key( delete_marker: &DeleteMarkerEntry, key: &str, ) -> Self
Trait Implementations§
Source§impl Clone for S3syncObject
impl Clone for S3syncObject
Source§fn clone(&self) -> S3syncObject
fn clone(&self) -> S3syncObject
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 S3syncObject
impl Debug for S3syncObject
Source§impl PartialEq for S3syncObject
impl PartialEq for S3syncObject
impl StructuralPartialEq for S3syncObject
Auto Trait Implementations§
impl Freeze for S3syncObject
impl RefUnwindSafe for S3syncObject
impl Send for S3syncObject
impl Sync for S3syncObject
impl Unpin for S3syncObject
impl UnsafeUnpin for S3syncObject
impl UnwindSafe for S3syncObject
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.