Struct google_api_proto::google::cloud::clouddms::v1::BackgroundJobLogEntry
source · pub struct BackgroundJobLogEntry {
pub id: String,
pub job_type: i32,
pub start_time: Option<Timestamp>,
pub finish_time: Option<Timestamp>,
pub completion_state: i32,
pub completion_comment: String,
pub request_autocommit: bool,
pub job_details: Option<JobDetails>,
}
Expand description
Execution log of a background job.
Fields§
§id: String
The background job log entry ID.
job_type: i32
The type of job that was executed.
start_time: Option<Timestamp>
The timestamp when the background job was started.
finish_time: Option<Timestamp>
The timestamp when the background job was finished.
completion_state: i32
Output only. Job completion state, i.e. the final state after the job completed.
completion_comment: String
Output only. Job completion comment, such as how many entities were seeded, how many warnings were found during conversion, and similar information.
request_autocommit: bool
Output only. Whether the client requested the conversion workspace to be committed after a successful completion of the job.
job_details: Option<JobDetails>
Implementations§
source§impl BackgroundJobLogEntry
impl BackgroundJobLogEntry
sourcepub fn job_type(&self) -> BackgroundJobType
pub fn job_type(&self) -> BackgroundJobType
Returns the enum value of job_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_job_type(&mut self, value: BackgroundJobType)
pub fn set_job_type(&mut self, value: BackgroundJobType)
Sets job_type
to the provided enum value.
sourcepub fn completion_state(&self) -> JobCompletionState
pub fn completion_state(&self) -> JobCompletionState
Returns the enum value of completion_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_completion_state(&mut self, value: JobCompletionState)
pub fn set_completion_state(&mut self, value: JobCompletionState)
Sets completion_state
to the provided enum value.
Trait Implementations§
source§impl Clone for BackgroundJobLogEntry
impl Clone for BackgroundJobLogEntry
source§fn clone(&self) -> BackgroundJobLogEntry
fn clone(&self) -> BackgroundJobLogEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackgroundJobLogEntry
impl Debug for BackgroundJobLogEntry
source§impl Default for BackgroundJobLogEntry
impl Default for BackgroundJobLogEntry
source§impl Message for BackgroundJobLogEntry
impl Message for BackgroundJobLogEntry
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for BackgroundJobLogEntry
impl PartialEq for BackgroundJobLogEntry
source§fn eq(&self, other: &BackgroundJobLogEntry) -> bool
fn eq(&self, other: &BackgroundJobLogEntry) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BackgroundJobLogEntry
Auto Trait Implementations§
impl Freeze for BackgroundJobLogEntry
impl RefUnwindSafe for BackgroundJobLogEntry
impl Send for BackgroundJobLogEntry
impl Sync for BackgroundJobLogEntry
impl Unpin for BackgroundJobLogEntry
impl UnwindSafe for BackgroundJobLogEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request