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

pub struct TransferOptions {
    pub overwrite_objects_already_existing_in_sink: bool,
    pub delete_objects_unique_in_sink: bool,
    pub delete_objects_from_source_after_transfer: bool,
}

TransferOptions uses three boolean parameters to define the actions to be performed on objects in a transfer.

Fields

overwrite_objects_already_existing_in_sink: bool

Whether overwriting objects that already exist in the sink is allowed.

delete_objects_unique_in_sink: bool

Whether objects that exist only in the sink should be deleted. Note that this option and deleteObjectsFromSourceAfterTransfer are mutually exclusive.

delete_objects_from_source_after_transfer: bool

Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and deleteObjectsUniqueInSink are mutually exclusive.

Trait Implementations

impl Clone for TransferOptions[src]

impl Debug for TransferOptions[src]

impl Default for TransferOptions[src]

impl Message for TransferOptions[src]

impl PartialEq<TransferOptions> for TransferOptions[src]

impl StructuralPartialEq for TransferOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for TransferOptions

impl Send for TransferOptions

impl Sync for TransferOptions

impl Unpin for TransferOptions

impl UnwindSafe for TransferOptions

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]