pub struct IoArgoprojEventsV1alpha1PayloadField {
pub name: Option<String>,
pub path: Option<String>,
}Expand description
PayloadField binds a value at path within the event payload against a name.
Fields§
§name: Option<String>Name acts as key that holds the value at the path.
path: Option<String>Path is the JSONPath of the event’s (JSON decoded) data key Path is a series of keys separated by a dot. A key may contain wildcard characters ‘*’ and ‘?’. To access an array value use the index as the key. The dot and wildcard characters can be escaped with ‘\’. See https://github.com/tidwall/gjson#path-syntax for more information on how to use this.
Trait Implementations§
Source§impl Clone for IoArgoprojEventsV1alpha1PayloadField
impl Clone for IoArgoprojEventsV1alpha1PayloadField
Source§fn clone(&self) -> IoArgoprojEventsV1alpha1PayloadField
fn clone(&self) -> IoArgoprojEventsV1alpha1PayloadField
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 IoArgoprojEventsV1alpha1PayloadField
impl<'de> Deserialize<'de> for IoArgoprojEventsV1alpha1PayloadField
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<&IoArgoprojEventsV1alpha1PayloadField> for IoArgoprojEventsV1alpha1PayloadField
impl From<&IoArgoprojEventsV1alpha1PayloadField> for IoArgoprojEventsV1alpha1PayloadField
Source§fn from(value: &IoArgoprojEventsV1alpha1PayloadField) -> Self
fn from(value: &IoArgoprojEventsV1alpha1PayloadField) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojEventsV1alpha1PayloadField
impl RefUnwindSafe for IoArgoprojEventsV1alpha1PayloadField
impl Send for IoArgoprojEventsV1alpha1PayloadField
impl Sync for IoArgoprojEventsV1alpha1PayloadField
impl Unpin for IoArgoprojEventsV1alpha1PayloadField
impl UnwindSafe for IoArgoprojEventsV1alpha1PayloadField
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