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 for EventSource
impl PartialEq 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 ==
.source§impl Serialize for EventSource
impl Serialize for EventSource
impl StructuralPartialEq for EventSource
Auto Trait Implementations§
impl RefUnwindSafe for EventSource
impl Send for EventSource
impl Sync for EventSource
impl Unpin for EventSource
impl UnwindSafe for EventSource
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