Struct gapi_grpc::google::privacy::dlp::v2::DlpJob[][src]

pub struct DlpJob {
    pub name: String,
    pub type: i32,
    pub state: i32,
    pub create_time: Option<Timestamp>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub job_trigger_name: String,
    pub errors: Vec<Error>,
    pub details: Option<Details>,
}

Combines all of the information about a DLP job.

Fields

name: String

The server-assigned name.

type: i32

The type of job.

state: i32

State of a job.

create_time: Option<Timestamp>

Time when the job was created.

start_time: Option<Timestamp>

Time when the job started.

end_time: Option<Timestamp>

Time when the job finished.

job_trigger_name: String

If created by a job trigger, the resource name of the trigger that instantiated the job.

errors: Vec<Error>

A stream of errors encountered running the job.

details: Option<Details>

Implementations

impl DlpJob[src]

pub fn type(&self) -> DlpJobType[src]

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

pub fn set_type(&mut self, value: DlpJobType)[src]

Sets type to the provided enum value.

pub fn state(&self) -> JobState[src]

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

pub fn set_state(&mut self, value: JobState)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for DlpJob[src]

impl Debug for DlpJob[src]

impl Default for DlpJob[src]

impl Message for DlpJob[src]

impl PartialEq<DlpJob> for DlpJob[src]

impl StructuralPartialEq for DlpJob[src]

Auto Trait Implementations

impl RefUnwindSafe for DlpJob

impl Send for DlpJob

impl Sync for DlpJob

impl Unpin for DlpJob

impl UnwindSafe for DlpJob

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]