#[non_exhaustive]pub struct UpdateWorkflowConfigRequest {
pub update_mask: Option<FieldMask>,
pub workflow_config: Option<WorkflowConfig>,
/* private fields */
}Expand description
UpdateWorkflowConfig request message.
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>Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated.
workflow_config: Option<WorkflowConfig>Required. The workflow config to update.
Implementations§
Source§impl UpdateWorkflowConfigRequest
impl UpdateWorkflowConfigRequest
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_workflow_config<T>(self, v: T) -> Selfwhere
T: Into<WorkflowConfig>,
pub fn set_workflow_config<T>(self, v: T) -> Selfwhere
T: Into<WorkflowConfig>,
Sets the value of workflow_config.
Sourcepub fn set_or_clear_workflow_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<WorkflowConfig>,
pub fn set_or_clear_workflow_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<WorkflowConfig>,
Sets or clears the value of workflow_config.
Trait Implementations§
Source§impl Clone for UpdateWorkflowConfigRequest
impl Clone for UpdateWorkflowConfigRequest
Source§fn clone(&self) -> UpdateWorkflowConfigRequest
fn clone(&self) -> UpdateWorkflowConfigRequest
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 UpdateWorkflowConfigRequest
impl Debug for UpdateWorkflowConfigRequest
Source§impl Default for UpdateWorkflowConfigRequest
impl Default for UpdateWorkflowConfigRequest
Source§fn default() -> UpdateWorkflowConfigRequest
fn default() -> UpdateWorkflowConfigRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for UpdateWorkflowConfigRequest
Auto Trait Implementations§
impl Freeze for UpdateWorkflowConfigRequest
impl RefUnwindSafe for UpdateWorkflowConfigRequest
impl Send for UpdateWorkflowConfigRequest
impl Sync for UpdateWorkflowConfigRequest
impl Unpin for UpdateWorkflowConfigRequest
impl UnwindSafe for UpdateWorkflowConfigRequest
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