pub struct MultipartUploadCandidate {
pub upload_id: String,
pub key: String,
pub initiated: DateTime<Utc>,
pub tags: Vec<(String, String)>,
}Expand description
v0.8.3 #69: one in-flight multipart upload the lifecycle scanner
considers for abort. Mirrors the (subset of) MultipartUpload fields
the rule evaluator needs (key, upload_id, initiated). tags is kept
in the shape the existing object-path evaluator uses
(Vec<(String, String)>) so a future enhancement that surfaces
upload-time tags from MultipartStateStore can flow through the
same filter check without API churn — AWS S3 itself does not attach
tags to in-flight multipart uploads, so for the scanner-driven path
the slice is always empty (the filter’s prefix / size predicates
still apply via LifecycleFilter::matches, passing size = 0).
Fields§
§upload_id: String§key: String§initiated: DateTime<Utc>Trait Implementations§
Source§impl Clone for MultipartUploadCandidate
impl Clone for MultipartUploadCandidate
Source§fn clone(&self) -> MultipartUploadCandidate
fn clone(&self) -> MultipartUploadCandidate
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 moreAuto Trait Implementations§
impl Freeze for MultipartUploadCandidate
impl RefUnwindSafe for MultipartUploadCandidate
impl Send for MultipartUploadCandidate
impl Sync for MultipartUploadCandidate
impl Unpin for MultipartUploadCandidate
impl UnsafeUnpin for MultipartUploadCandidate
impl UnwindSafe for MultipartUploadCandidate
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