#[non_exhaustive]pub struct CreateWorkflowConfigRequest {
pub parent: String,
pub workflow_config: Option<WorkflowConfig>,
pub workflow_config_id: String,
/* private fields */
}Expand description
CreateWorkflowConfig 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.parent: StringRequired. The repository in which to create the workflow config. Must be in
the format projects/*/locations/*/repositories/*.
workflow_config: Option<WorkflowConfig>Required. The workflow config to create.
workflow_config_id: StringRequired. The ID to use for the workflow config, which will become the final component of the workflow config’s resource name.
Implementations§
Source§impl CreateWorkflowConfigRequest
impl CreateWorkflowConfigRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
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.
Sourcepub fn set_workflow_config_id<T: Into<String>>(self, v: T) -> Self
pub fn set_workflow_config_id<T: Into<String>>(self, v: T) -> Self
Sets the value of workflow_config_id.
Trait Implementations§
Source§impl Clone for CreateWorkflowConfigRequest
impl Clone for CreateWorkflowConfigRequest
Source§fn clone(&self) -> CreateWorkflowConfigRequest
fn clone(&self) -> CreateWorkflowConfigRequest
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 CreateWorkflowConfigRequest
impl Debug for CreateWorkflowConfigRequest
Source§impl Default for CreateWorkflowConfigRequest
impl Default for CreateWorkflowConfigRequest
Source§fn default() -> CreateWorkflowConfigRequest
fn default() -> CreateWorkflowConfigRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreateWorkflowConfigRequest
Auto Trait Implementations§
impl Freeze for CreateWorkflowConfigRequest
impl RefUnwindSafe for CreateWorkflowConfigRequest
impl Send for CreateWorkflowConfigRequest
impl Sync for CreateWorkflowConfigRequest
impl Unpin for CreateWorkflowConfigRequest
impl UnwindSafe for CreateWorkflowConfigRequest
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