Struct google_api_proto::google::cloud::bigquery::migration::v2alpha::MigrationTask
source · pub struct MigrationTask {
pub id: String,
pub type: String,
pub details: Option<Any>,
pub state: i32,
pub processing_error: Option<ErrorInfo>,
pub create_time: Option<Timestamp>,
pub last_update_time: Option<Timestamp>,
pub orchestration_result: Option<MigrationTaskOrchestrationResult>,
pub task_details: Option<TaskDetails>,
}
Expand description
A single task for a migration which has details about the configuration of the task.
Fields§
§id: String
Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
type: String
The type of the task. This must be a supported task type.
details: Option<Any>
DEPRECATED! Use one of the task_details below. The details of the task. The type URL must be one of the supported task details messages and correspond to the Task’s type.
state: i32
Output only. The current state of the task.
processing_error: Option<ErrorInfo>
Output only. An explanation that may be populated when the task is in FAILED state.
create_time: Option<Timestamp>
Time when the task was created.
last_update_time: Option<Timestamp>
Time when the task was last updated.
orchestration_result: Option<MigrationTaskOrchestrationResult>
Output only. Additional information about the orchestration.
task_details: Option<TaskDetails>
The details of the task.
Implementations§
Trait Implementations§
source§impl Clone for MigrationTask
impl Clone for MigrationTask
source§fn clone(&self) -> MigrationTask
fn clone(&self) -> MigrationTask
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MigrationTask
impl Debug for MigrationTask
source§impl Default for MigrationTask
impl Default for MigrationTask
source§impl Message for MigrationTask
impl Message for MigrationTask
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for MigrationTask
impl PartialEq for MigrationTask
source§fn eq(&self, other: &MigrationTask) -> bool
fn eq(&self, other: &MigrationTask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MigrationTask
Auto Trait Implementations§
impl Freeze for MigrationTask
impl RefUnwindSafe for MigrationTask
impl Send for MigrationTask
impl Sync for MigrationTask
impl Unpin for MigrationTask
impl UnwindSafe for MigrationTask
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request