Struct k8s_openapi::api::core::v1::EventSource
source · pub struct EventSource {
pub component: Option<String>,
pub host: Option<String>,
}
Expand description
EventSource contains information for an event.
Fields§
§component: Option<String>
Component from which the event is generated.
host: Option<String>
Node name on which the event is generated.
Trait Implementations§
source§impl Clone for EventSource
impl Clone for EventSource
source§fn clone(&self) -> EventSource
fn clone(&self) -> EventSource
Returns a copy 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 EventSource
impl Debug for EventSource
source§impl DeepMerge for EventSource
impl DeepMerge for EventSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for EventSource
impl Default for EventSource
source§fn default() -> EventSource
fn default() -> EventSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EventSource
impl<'de> Deserialize<'de> for EventSource
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 PartialEq<EventSource> for EventSource
impl PartialEq<EventSource> for EventSource
source§fn eq(&self, other: &EventSource) -> bool
fn eq(&self, other: &EventSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.