pub struct IoArgoprojEventsV1alpha1OpenWhiskTrigger {
pub action_name: Option<String>,
pub auth_token: Option<IoK8sApiCoreV1SecretKeySelector>,
pub host: Option<String>,
pub namespace: Option<String>,
pub parameters: Vec<IoArgoprojEventsV1alpha1TriggerParameter>,
pub payload: Vec<IoArgoprojEventsV1alpha1TriggerParameter>,
pub version: Option<String>,
}Expand description
OpenWhiskTrigger refers to the specification of the OpenWhisk trigger.
Fields§
§action_name: Option<String>Name of the action/function.
auth_token: Option<IoK8sApiCoreV1SecretKeySelector>§host: Option<String>Host URL of the OpenWhisk.
namespace: Option<String>Namespace for the action. Defaults to “_”. +optional.
parameters: Vec<IoArgoprojEventsV1alpha1TriggerParameter>§payload: Vec<IoArgoprojEventsV1alpha1TriggerParameter>Payload is the list of key-value extracted from an event payload to construct the request payload.
version: Option<String>Trait Implementations§
Source§impl Clone for IoArgoprojEventsV1alpha1OpenWhiskTrigger
impl Clone for IoArgoprojEventsV1alpha1OpenWhiskTrigger
Source§fn clone(&self) -> IoArgoprojEventsV1alpha1OpenWhiskTrigger
fn clone(&self) -> IoArgoprojEventsV1alpha1OpenWhiskTrigger
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<'de> Deserialize<'de> for IoArgoprojEventsV1alpha1OpenWhiskTrigger
impl<'de> Deserialize<'de> for IoArgoprojEventsV1alpha1OpenWhiskTrigger
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&IoArgoprojEventsV1alpha1OpenWhiskTrigger> for IoArgoprojEventsV1alpha1OpenWhiskTrigger
impl From<&IoArgoprojEventsV1alpha1OpenWhiskTrigger> for IoArgoprojEventsV1alpha1OpenWhiskTrigger
Source§fn from(value: &IoArgoprojEventsV1alpha1OpenWhiskTrigger) -> Self
fn from(value: &IoArgoprojEventsV1alpha1OpenWhiskTrigger) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojEventsV1alpha1OpenWhiskTrigger
impl RefUnwindSafe for IoArgoprojEventsV1alpha1OpenWhiskTrigger
impl Send for IoArgoprojEventsV1alpha1OpenWhiskTrigger
impl Sync for IoArgoprojEventsV1alpha1OpenWhiskTrigger
impl Unpin for IoArgoprojEventsV1alpha1OpenWhiskTrigger
impl UnwindSafe for IoArgoprojEventsV1alpha1OpenWhiskTrigger
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