#[non_exhaustive]pub struct CreateWorkflowInvocationRequest {
pub parent: String,
pub workflow_invocation: Option<WorkflowInvocation>,
/* private fields */
}Expand description
CreateWorkflowInvocation 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 invocation. Must
be in the format projects/*/locations/*/repositories/*.
workflow_invocation: Option<WorkflowInvocation>Required. The workflow invocation resource to create.
Implementations§
Source§impl CreateWorkflowInvocationRequest
impl CreateWorkflowInvocationRequest
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_invocation<T>(self, v: T) -> Selfwhere
T: Into<WorkflowInvocation>,
pub fn set_workflow_invocation<T>(self, v: T) -> Selfwhere
T: Into<WorkflowInvocation>,
Sets the value of workflow_invocation.
Sourcepub fn set_or_clear_workflow_invocation<T>(self, v: Option<T>) -> Selfwhere
T: Into<WorkflowInvocation>,
pub fn set_or_clear_workflow_invocation<T>(self, v: Option<T>) -> Selfwhere
T: Into<WorkflowInvocation>,
Sets or clears the value of workflow_invocation.
Trait Implementations§
Source§impl Clone for CreateWorkflowInvocationRequest
impl Clone for CreateWorkflowInvocationRequest
Source§fn clone(&self) -> CreateWorkflowInvocationRequest
fn clone(&self) -> CreateWorkflowInvocationRequest
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 CreateWorkflowInvocationRequest
impl Default for CreateWorkflowInvocationRequest
Source§fn default() -> CreateWorkflowInvocationRequest
fn default() -> CreateWorkflowInvocationRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateWorkflowInvocationRequest
impl PartialEq for CreateWorkflowInvocationRequest
Source§fn eq(&self, other: &CreateWorkflowInvocationRequest) -> bool
fn eq(&self, other: &CreateWorkflowInvocationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateWorkflowInvocationRequest
Auto Trait Implementations§
impl Freeze for CreateWorkflowInvocationRequest
impl RefUnwindSafe for CreateWorkflowInvocationRequest
impl Send for CreateWorkflowInvocationRequest
impl Sync for CreateWorkflowInvocationRequest
impl Unpin for CreateWorkflowInvocationRequest
impl UnwindSafe for CreateWorkflowInvocationRequest
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