#[non_exhaustive]pub struct CreateExecutionRequest {
pub parent: String,
pub execution: Option<Execution>,
/* private fields */
}Expand description
Request for the CreateExecution method.
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. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.
execution: Option<Execution>Required. Execution to be created.
Implementations§
Source§impl CreateExecutionRequest
impl CreateExecutionRequest
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
Sourcepub fn set_execution<T>(self, v: T) -> Self
pub fn set_execution<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_execution<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_execution<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for CreateExecutionRequest
impl Clone for CreateExecutionRequest
Source§fn clone(&self) -> CreateExecutionRequest
fn clone(&self) -> CreateExecutionRequest
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 CreateExecutionRequest
impl Debug for CreateExecutionRequest
Source§impl Default for CreateExecutionRequest
impl Default for CreateExecutionRequest
Source§fn default() -> CreateExecutionRequest
fn default() -> CreateExecutionRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateExecutionRequest
impl Message for CreateExecutionRequest
Source§impl PartialEq for CreateExecutionRequest
impl PartialEq for CreateExecutionRequest
impl StructuralPartialEq for CreateExecutionRequest
Auto Trait Implementations§
impl Freeze for CreateExecutionRequest
impl RefUnwindSafe for CreateExecutionRequest
impl Send for CreateExecutionRequest
impl Sync for CreateExecutionRequest
impl Unpin for CreateExecutionRequest
impl UnwindSafe for CreateExecutionRequest
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