#[non_exhaustive]pub struct UpdateMigrationJobRequest {
pub update_mask: Option<FieldMask>,
pub migration_job: Option<MigrationJob>,
pub request_id: String,
/* private fields */
}Expand description
Request message for ‘UpdateMigrationJob’ request.
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.update_mask: Option<FieldMask>Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.
migration_job: Option<MigrationJob>Required. The migration job parameters to update.
request_id: StringA unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.
It is recommended to always set this value to a UUID.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
Implementations§
Source§impl UpdateMigrationJobRequest
impl UpdateMigrationJobRequest
pub fn new() -> Self
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
Sourcepub fn set_migration_job<T>(self, v: T) -> Selfwhere
T: Into<MigrationJob>,
pub fn set_migration_job<T>(self, v: T) -> Selfwhere
T: Into<MigrationJob>,
Sets the value of migration_job.
Sourcepub fn set_or_clear_migration_job<T>(self, v: Option<T>) -> Selfwhere
T: Into<MigrationJob>,
pub fn set_or_clear_migration_job<T>(self, v: Option<T>) -> Selfwhere
T: Into<MigrationJob>,
Sets or clears the value of migration_job.
Sourcepub fn set_request_id<T: Into<String>>(self, v: T) -> Self
pub fn set_request_id<T: Into<String>>(self, v: T) -> Self
Sets the value of request_id.
Trait Implementations§
Source§impl Clone for UpdateMigrationJobRequest
impl Clone for UpdateMigrationJobRequest
Source§fn clone(&self) -> UpdateMigrationJobRequest
fn clone(&self) -> UpdateMigrationJobRequest
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 UpdateMigrationJobRequest
impl Debug for UpdateMigrationJobRequest
Source§impl Default for UpdateMigrationJobRequest
impl Default for UpdateMigrationJobRequest
Source§fn default() -> UpdateMigrationJobRequest
fn default() -> UpdateMigrationJobRequest
Returns the “default value” for a type. Read more
Source§impl Message for UpdateMigrationJobRequest
impl Message for UpdateMigrationJobRequest
impl StructuralPartialEq for UpdateMigrationJobRequest
Auto Trait Implementations§
impl Freeze for UpdateMigrationJobRequest
impl RefUnwindSafe for UpdateMigrationJobRequest
impl Send for UpdateMigrationJobRequest
impl Sync for UpdateMigrationJobRequest
impl Unpin for UpdateMigrationJobRequest
impl UnwindSafe for UpdateMigrationJobRequest
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