[][src]Struct google_storagetransfer1::TransferOptions

pub struct TransferOptions {
    pub overwrite_objects_already_existing_in_sink: Option<bool>,
    pub delete_objects_from_source_after_transfer: Option<bool>,
    pub delete_objects_unique_in_sink: Option<bool>,
}

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

This type is not used in any activity, and only used as part of another schema.

Fields

overwrite_objects_already_existing_in_sink: Option<bool>

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

delete_objects_from_source_after_transfer: Option<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.

delete_objects_unique_in_sink: Option<bool>

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

Trait Implementations

impl Part for TransferOptions[src]

impl Clone for TransferOptions[src]

impl Default for TransferOptions[src]

impl Debug for TransferOptions[src]

impl Serialize for TransferOptions[src]

impl<'de> Deserialize<'de> for TransferOptions[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]