#[non_exhaustive]pub struct TranslationTaskResult {
pub translated_literals: Vec<Literal>,
pub report_log_messages: Vec<GcsReportLogMessage>,
/* private fields */
}Expand description
Translation specific result details from the migration task.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.translated_literals: Vec<Literal>The list of the translated literals.
report_log_messages: Vec<GcsReportLogMessage>The records from the aggregate CSV report for a migration workflow.
Implementations§
Source§impl TranslationTaskResult
impl TranslationTaskResult
pub fn new() -> Self
Sourcepub fn set_translated_literals<T, V>(self, v: T) -> Self
pub fn set_translated_literals<T, V>(self, v: T) -> Self
Sets the value of translated_literals.
§Example
ⓘ
use google_cloud_bigquery_migration_v2::model::Literal;
let x = TranslationTaskResult::new()
.set_translated_literals([
Literal::default()/* use setters */,
Literal::default()/* use (different) setters */,
]);Sourcepub fn set_report_log_messages<T, V>(self, v: T) -> Self
pub fn set_report_log_messages<T, V>(self, v: T) -> Self
Sets the value of report_log_messages.
§Example
ⓘ
use google_cloud_bigquery_migration_v2::model::GcsReportLogMessage;
let x = TranslationTaskResult::new()
.set_report_log_messages([
GcsReportLogMessage::default()/* use setters */,
GcsReportLogMessage::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for TranslationTaskResult
impl Clone for TranslationTaskResult
Source§fn clone(&self) -> TranslationTaskResult
fn clone(&self) -> TranslationTaskResult
Returns a duplicate 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 TranslationTaskResult
impl Debug for TranslationTaskResult
Source§impl Default for TranslationTaskResult
impl Default for TranslationTaskResult
Source§fn default() -> TranslationTaskResult
fn default() -> TranslationTaskResult
Returns the “default value” for a type. Read more
Source§impl Message for TranslationTaskResult
impl Message for TranslationTaskResult
Source§impl PartialEq for TranslationTaskResult
impl PartialEq for TranslationTaskResult
impl StructuralPartialEq for TranslationTaskResult
Auto Trait Implementations§
impl Freeze for TranslationTaskResult
impl RefUnwindSafe for TranslationTaskResult
impl Send for TranslationTaskResult
impl Sync for TranslationTaskResult
impl Unpin for TranslationTaskResult
impl UnwindSafe for TranslationTaskResult
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