#[non_exhaustive]pub struct ExecutePluginInstanceActionRequest {
pub name: String,
pub action_execution_detail: Option<ActionExecutionDetail>,
/* private fields */
}Expand description
The ExecutePluginInstanceAction method’s 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.name: StringRequired. The name of the plugin instance to execute.
Format:
projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
action_execution_detail: Option<ActionExecutionDetail>Required. The execution details for the action to execute.
Implementations§
Source§impl ExecutePluginInstanceActionRequest
impl ExecutePluginInstanceActionRequest
pub fn new() -> Self
Sourcepub fn set_action_execution_detail<T>(self, v: T) -> Selfwhere
T: Into<ActionExecutionDetail>,
pub fn set_action_execution_detail<T>(self, v: T) -> Selfwhere
T: Into<ActionExecutionDetail>,
Sets the value of action_execution_detail.
Sourcepub fn set_or_clear_action_execution_detail<T>(self, v: Option<T>) -> Selfwhere
T: Into<ActionExecutionDetail>,
pub fn set_or_clear_action_execution_detail<T>(self, v: Option<T>) -> Selfwhere
T: Into<ActionExecutionDetail>,
Sets or clears the value of action_execution_detail.
Trait Implementations§
Source§impl Clone for ExecutePluginInstanceActionRequest
impl Clone for ExecutePluginInstanceActionRequest
Source§fn clone(&self) -> ExecutePluginInstanceActionRequest
fn clone(&self) -> ExecutePluginInstanceActionRequest
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 ExecutePluginInstanceActionRequest
impl Default for ExecutePluginInstanceActionRequest
Source§fn default() -> ExecutePluginInstanceActionRequest
fn default() -> ExecutePluginInstanceActionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExecutePluginInstanceActionRequest
impl PartialEq for ExecutePluginInstanceActionRequest
Source§fn eq(&self, other: &ExecutePluginInstanceActionRequest) -> bool
fn eq(&self, other: &ExecutePluginInstanceActionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutePluginInstanceActionRequest
Auto Trait Implementations§
impl Freeze for ExecutePluginInstanceActionRequest
impl RefUnwindSafe for ExecutePluginInstanceActionRequest
impl Send for ExecutePluginInstanceActionRequest
impl Sync for ExecutePluginInstanceActionRequest
impl Unpin for ExecutePluginInstanceActionRequest
impl UnwindSafe for ExecutePluginInstanceActionRequest
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