Struct google_api_proto::google::cloud::bigquery::migration::v2::TranslationConfigDetails
source · pub struct TranslationConfigDetails {
pub source_dialect: Option<Dialect>,
pub target_dialect: Option<Dialect>,
pub source_env: Option<SourceEnv>,
pub request_source: String,
pub target_types: Vec<String>,
pub source_location: Option<SourceLocation>,
pub target_location: Option<TargetLocation>,
pub output_name_mapping: Option<OutputNameMapping>,
}
Expand description
The translation config to capture necessary settings for a translation task and subtask.
Fields§
§source_dialect: Option<Dialect>
The dialect of the input files.
target_dialect: Option<Dialect>
The target dialect for the engine to translate the input to.
source_env: Option<SourceEnv>
The default source environment values for the translation.
request_source: String
The indicator to show translation request initiator.
target_types: Vec<String>
The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
source_location: Option<SourceLocation>
The chosen path where the source for input files will be found.
target_location: Option<TargetLocation>
The chosen path where the destination for output files will be found.
output_name_mapping: Option<OutputNameMapping>
The mapping of full SQL object names from their current state to the desired output.
Trait Implementations§
source§impl Clone for TranslationConfigDetails
impl Clone for TranslationConfigDetails
source§fn clone(&self) -> TranslationConfigDetails
fn clone(&self) -> TranslationConfigDetails
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 TranslationConfigDetails
impl Debug for TranslationConfigDetails
source§impl Default for TranslationConfigDetails
impl Default for TranslationConfigDetails
source§impl Message for TranslationConfigDetails
impl Message for TranslationConfigDetails
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 TranslationConfigDetails
impl PartialEq for TranslationConfigDetails
source§fn eq(&self, other: &TranslationConfigDetails) -> bool
fn eq(&self, other: &TranslationConfigDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TranslationConfigDetails
Auto Trait Implementations§
impl Freeze for TranslationConfigDetails
impl RefUnwindSafe for TranslationConfigDetails
impl Send for TranslationConfigDetails
impl Sync for TranslationConfigDetails
impl Unpin for TranslationConfigDetails
impl UnwindSafe for TranslationConfigDetails
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