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§impl Serialize for EventSource
impl Serialize for EventSource
impl StructuralPartialEq for EventSource
Auto Trait Implementations§
impl Freeze for EventSource
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