#[non_exhaustive]pub struct JobManifestGeneratorFilter {
pub eligible_for_replication: Option<bool>,
pub created_after: Option<DateTime>,
pub created_before: Option<DateTime>,
pub object_replication_statuses: Option<Vec<ReplicationStatus>>,
}
Expand description
The filter used to describe a set of objects for the job's manifest.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.eligible_for_replication: Option<bool>
Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.
created_after: Option<DateTime>
If provided, the generated manifest should include only source bucket objects that were created after this time.
created_before: Option<DateTime>
If provided, the generated manifest should include only source bucket objects that were created before this time.
object_replication_statuses: Option<Vec<ReplicationStatus>>
If provided, the generated manifest should include only source bucket objects that have one of the specified Replication statuses.
Implementations
sourceimpl JobManifestGeneratorFilter
impl JobManifestGeneratorFilter
sourcepub fn eligible_for_replication(&self) -> Option<bool>
pub fn eligible_for_replication(&self) -> Option<bool>
Include objects in the generated manifest only if they are eligible for replication according to the Replication configuration on the source bucket.
sourcepub fn created_after(&self) -> Option<&DateTime>
pub fn created_after(&self) -> Option<&DateTime>
If provided, the generated manifest should include only source bucket objects that were created after this time.
sourcepub fn created_before(&self) -> Option<&DateTime>
pub fn created_before(&self) -> Option<&DateTime>
If provided, the generated manifest should include only source bucket objects that were created before this time.
sourcepub fn object_replication_statuses(&self) -> Option<&[ReplicationStatus]>
pub fn object_replication_statuses(&self) -> Option<&[ReplicationStatus]>
If provided, the generated manifest should include only source bucket objects that have one of the specified Replication statuses.
sourceimpl JobManifestGeneratorFilter
impl JobManifestGeneratorFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobManifestGeneratorFilter
Trait Implementations
sourceimpl Clone for JobManifestGeneratorFilter
impl Clone for JobManifestGeneratorFilter
sourcefn clone(&self) -> JobManifestGeneratorFilter
fn clone(&self) -> JobManifestGeneratorFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JobManifestGeneratorFilter
impl Debug for JobManifestGeneratorFilter
sourceimpl PartialEq<JobManifestGeneratorFilter> for JobManifestGeneratorFilter
impl PartialEq<JobManifestGeneratorFilter> for JobManifestGeneratorFilter
sourcefn eq(&self, other: &JobManifestGeneratorFilter) -> bool
fn eq(&self, other: &JobManifestGeneratorFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JobManifestGeneratorFilter) -> bool
fn ne(&self, other: &JobManifestGeneratorFilter) -> bool
This method tests for !=
.
impl StructuralPartialEq for JobManifestGeneratorFilter
Auto Trait Implementations
impl RefUnwindSafe for JobManifestGeneratorFilter
impl Send for JobManifestGeneratorFilter
impl Sync for JobManifestGeneratorFilter
impl Unpin for JobManifestGeneratorFilter
impl UnwindSafe for JobManifestGeneratorFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more