pub struct IoArgoprojEventsV1alpha1ResourceEventSource {
pub event_types: Vec<String>,
pub filter: Option<IoArgoprojEventsV1alpha1ResourceFilter>,
pub group_version_resource: Option<IoK8sApimachineryPkgApisMetaV1GroupVersionResource>,
pub metadata: HashMap<String, String>,
pub namespace: Option<String>,
}Expand description
ResourceEventSource refers to a event-source for K8s resource related events.
Fields§
§event_types: Vec<String>EventTypes is the list of event type to watch. Possible values are - ADD, UPDATE and DELETE.
filter: Option<IoArgoprojEventsV1alpha1ResourceFilter>§group_version_resource: Option<IoK8sApimachineryPkgApisMetaV1GroupVersionResource>§metadata: HashMap<String, String>§namespace: Option<String>Trait Implementations§
Source§impl Clone for IoArgoprojEventsV1alpha1ResourceEventSource
impl Clone for IoArgoprojEventsV1alpha1ResourceEventSource
Source§fn clone(&self) -> IoArgoprojEventsV1alpha1ResourceEventSource
fn clone(&self) -> IoArgoprojEventsV1alpha1ResourceEventSource
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 IoArgoprojEventsV1alpha1ResourceEventSource
impl<'de> Deserialize<'de> for IoArgoprojEventsV1alpha1ResourceEventSource
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<&IoArgoprojEventsV1alpha1ResourceEventSource> for IoArgoprojEventsV1alpha1ResourceEventSource
impl From<&IoArgoprojEventsV1alpha1ResourceEventSource> for IoArgoprojEventsV1alpha1ResourceEventSource
Source§fn from(value: &IoArgoprojEventsV1alpha1ResourceEventSource) -> Self
fn from(value: &IoArgoprojEventsV1alpha1ResourceEventSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojEventsV1alpha1ResourceEventSource
impl RefUnwindSafe for IoArgoprojEventsV1alpha1ResourceEventSource
impl Send for IoArgoprojEventsV1alpha1ResourceEventSource
impl Sync for IoArgoprojEventsV1alpha1ResourceEventSource
impl Unpin for IoArgoprojEventsV1alpha1ResourceEventSource
impl UnwindSafe for IoArgoprojEventsV1alpha1ResourceEventSource
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