Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::DeleteMarkerEntry
pub struct DeleteMarkerEntry {
pub owner: Option<Owner>,
pub key: Option<String>,
pub version_id: Option<String>,
pub is_latest: bool,
pub last_modified: Option<DateTime>,
}
Expand description
Information about the delete marker.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.owner: Option<Owner>
The account that created the delete marker.>
key: Option<String>
The object key.
version_id: Option<String>
Version ID of an object.
is_latest: bool
Specifies whether the object is (true) or is not (false) the latest version of an object.
last_modified: Option<DateTime>
Date and time the object was last modified.
Implementations§
§impl DeleteMarkerEntry
impl DeleteMarkerEntry
pub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
Version ID of an object.
pub fn is_latest(&self) -> bool
pub fn is_latest(&self) -> bool
Specifies whether the object is (true) or is not (false) the latest version of an object.
pub fn last_modified(&self) -> Option<&DateTime>
pub fn last_modified(&self) -> Option<&DateTime>
Date and time the object was last modified.
§impl DeleteMarkerEntry
impl DeleteMarkerEntry
pub fn builder() -> DeleteMarkerEntryBuilder
pub fn builder() -> DeleteMarkerEntryBuilder
Creates a new builder-style object to manufacture DeleteMarkerEntry
.
Trait Implementations§
§impl Clone for DeleteMarkerEntry
impl Clone for DeleteMarkerEntry
§fn clone(&self) -> DeleteMarkerEntry
fn clone(&self) -> DeleteMarkerEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DeleteMarkerEntry
impl Debug for DeleteMarkerEntry
§impl PartialEq<DeleteMarkerEntry> for DeleteMarkerEntry
impl PartialEq<DeleteMarkerEntry> for DeleteMarkerEntry
§fn eq(&self, other: &DeleteMarkerEntry) -> bool
fn eq(&self, other: &DeleteMarkerEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteMarkerEntry
Auto Trait Implementations§
impl RefUnwindSafe for DeleteMarkerEntry
impl Send for DeleteMarkerEntry
impl Sync for DeleteMarkerEntry
impl Unpin for DeleteMarkerEntry
impl UnwindSafe for DeleteMarkerEntry
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§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