#[non_exhaustive]pub struct UpdateConversionWorkspaceRequest {
pub update_mask: Option<FieldMask>,
pub conversion_workspace: Option<ConversionWorkspace>,
pub request_id: String,
/* private fields */
}Expand description
Request message for ‘UpdateConversionWorkspace’ 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.
conversion_workspace: Option<ConversionWorkspace>Required. The conversion workspace 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 UpdateConversionWorkspaceRequest
impl UpdateConversionWorkspaceRequest
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_conversion_workspace<T>(self, v: T) -> Selfwhere
T: Into<ConversionWorkspace>,
pub fn set_conversion_workspace<T>(self, v: T) -> Selfwhere
T: Into<ConversionWorkspace>,
Sets the value of conversion_workspace.
Sourcepub fn set_or_clear_conversion_workspace<T>(self, v: Option<T>) -> Selfwhere
T: Into<ConversionWorkspace>,
pub fn set_or_clear_conversion_workspace<T>(self, v: Option<T>) -> Selfwhere
T: Into<ConversionWorkspace>,
Sets or clears the value of conversion_workspace.
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 UpdateConversionWorkspaceRequest
impl Clone for UpdateConversionWorkspaceRequest
Source§fn clone(&self) -> UpdateConversionWorkspaceRequest
fn clone(&self) -> UpdateConversionWorkspaceRequest
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 Default for UpdateConversionWorkspaceRequest
impl Default for UpdateConversionWorkspaceRequest
Source§fn default() -> UpdateConversionWorkspaceRequest
fn default() -> UpdateConversionWorkspaceRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateConversionWorkspaceRequest
impl PartialEq for UpdateConversionWorkspaceRequest
Source§fn eq(&self, other: &UpdateConversionWorkspaceRequest) -> bool
fn eq(&self, other: &UpdateConversionWorkspaceRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateConversionWorkspaceRequest
Auto Trait Implementations§
impl Freeze for UpdateConversionWorkspaceRequest
impl RefUnwindSafe for UpdateConversionWorkspaceRequest
impl Send for UpdateConversionWorkspaceRequest
impl Sync for UpdateConversionWorkspaceRequest
impl Unpin for UpdateConversionWorkspaceRequest
impl UnwindSafe for UpdateConversionWorkspaceRequest
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