#[non_exhaustive]pub struct VerifyMigrationJobRequest {
pub name: String,
pub update_mask: Option<FieldMask>,
pub migration_job: Option<MigrationJob>,
/* private fields */
}Expand description
Request message for ‘VerifyMigrationJob’ 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.name: StringName of the migration job resource to verify.
update_mask: Option<FieldMask>Optional. Field mask is used to specify the changed fields to be verified. It will not update the migration job.
migration_job: Option<MigrationJob>Optional. The changed migration job parameters to verify. It will not update the migration job.
Implementations§
Source§impl VerifyMigrationJobRequest
impl VerifyMigrationJobRequest
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.
Trait Implementations§
Source§impl Clone for VerifyMigrationJobRequest
impl Clone for VerifyMigrationJobRequest
Source§fn clone(&self) -> VerifyMigrationJobRequest
fn clone(&self) -> VerifyMigrationJobRequest
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 VerifyMigrationJobRequest
impl Debug for VerifyMigrationJobRequest
Source§impl Default for VerifyMigrationJobRequest
impl Default for VerifyMigrationJobRequest
Source§fn default() -> VerifyMigrationJobRequest
fn default() -> VerifyMigrationJobRequest
Returns the “default value” for a type. Read more
Source§impl Message for VerifyMigrationJobRequest
impl Message for VerifyMigrationJobRequest
impl StructuralPartialEq for VerifyMigrationJobRequest
Auto Trait Implementations§
impl Freeze for VerifyMigrationJobRequest
impl RefUnwindSafe for VerifyMigrationJobRequest
impl Send for VerifyMigrationJobRequest
impl Sync for VerifyMigrationJobRequest
impl Unpin for VerifyMigrationJobRequest
impl UnwindSafe for VerifyMigrationJobRequest
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