Struct gapi_grpc::google::storagetransfer::v1::ObjectConditions[][src]

pub struct ObjectConditions {
    pub min_time_elapsed_since_last_modification: Option<Duration>,
    pub max_time_elapsed_since_last_modification: Option<Duration>,
    pub include_prefixes: Vec<String>,
    pub exclude_prefixes: Vec<String>,
}

Conditions that determine which objects will be transferred.

Fields

min_time_elapsed_since_last_modification: Option<Duration>

If unspecified, minTimeElapsedSinceLastModification takes a zero value and maxTimeElapsedSinceLastModification takes the maximum possible value of Duration. Objects that satisfy the object conditions must either have a lastModificationTime greater or equal to NOW - maxTimeElapsedSinceLastModification and less than NOW - minTimeElapsedSinceLastModification, or not have a lastModificationTime.

max_time_elapsed_since_last_modification: Option<Duration>

maxTimeElapsedSinceLastModification is the complement to minTimeElapsedSinceLastModification.

include_prefixes: Vec<String>

If includePrefixes is specified, objects that satisfy the object conditions must have names that start with one of the includePrefixes and that do not start with any of the excludePrefixes. If includePrefixes is not specified, all objects except those that have names starting with one of the excludePrefixes must satisfy the object conditions.

Requirements:

The max size of includePrefixes is 1000.

exclude_prefixes: Vec<String>

excludePrefixes must follow the requirements described for includePrefixes.

The max size of excludePrefixes is 1000.

Trait Implementations

impl Clone for ObjectConditions[src]

impl Debug for ObjectConditions[src]

impl Default for ObjectConditions[src]

impl Message for ObjectConditions[src]

impl PartialEq<ObjectConditions> for ObjectConditions[src]

impl StructuralPartialEq for ObjectConditions[src]

Auto Trait Implementations

impl RefUnwindSafe for ObjectConditions

impl Send for ObjectConditions

impl Sync for ObjectConditions

impl Unpin for ObjectConditions

impl UnwindSafe for ObjectConditions

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]