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

pub struct TransferOperation {
    pub name: String,
    pub project_id: String,
    pub transfer_spec: Option<TransferSpec>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub status: i32,
    pub counters: Option<TransferCounters>,
    pub error_breakdowns: Vec<ErrorSummary>,
    pub transfer_job_name: String,
}

A description of the execution of a transfer.

Fields

name: String

A globally unique ID assigned by the system.

project_id: String

The ID of the Google Cloud Platform Console project that owns the operation. Required.

transfer_spec: Option<TransferSpec>

Transfer specification. Required.

start_time: Option<Timestamp>

Start time of this transfer execution.

end_time: Option<Timestamp>

End time of this transfer execution.

status: i32

Status of the transfer operation.

counters: Option<TransferCounters>

Information about the progress of the transfer operation.

error_breakdowns: Vec<ErrorSummary>

Summarizes errors encountered with sample error log entries.

transfer_job_name: String

The name of the transfer job that triggers this transfer operation.

Implementations

impl TransferOperation[src]

pub fn status(&self) -> Status[src]

Returns the enum value of status, or the default if the field is set to an invalid enum value.

pub fn set_status(&mut self, value: Status)[src]

Sets status to the provided enum value.

Trait Implementations

impl Clone for TransferOperation[src]

impl Debug for TransferOperation[src]

impl Default for TransferOperation[src]

impl Message for TransferOperation[src]

impl PartialEq<TransferOperation> for TransferOperation[src]

impl StructuralPartialEq for TransferOperation[src]

Auto Trait Implementations

impl RefUnwindSafe for TransferOperation

impl Send for TransferOperation

impl Sync for TransferOperation

impl Unpin for TransferOperation

impl UnwindSafe for TransferOperation

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]