pub struct EventHeader {
pub event_type: Option<EventType>,
pub moniker: Option<String>,
pub component_url: Option<String>,
pub timestamp: Option<i64>,
}
Expand description
A head providing metadata about a target component instance.
Fields§
§event_type: Option<EventType>
§moniker: Option<String>
§component_url: Option<String>
§timestamp: Option<i64>
Trait Implementations§
Source§impl Clone for EventHeader
impl Clone for EventHeader
Source§fn clone(&self) -> EventHeader
fn clone(&self) -> EventHeader
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 EventHeader
impl Debug for EventHeader
Source§impl Encodable for EventHeader
impl Encodable for EventHeader
Source§type Encoded = WireEventHeader
type Encoded = WireEventHeader
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for EventHeaderwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for EventHeaderwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireEventHeader> for EventHeader
impl TakeFrom<WireEventHeader> for EventHeader
Source§fn take_from(from: &WireEventHeader) -> Self
fn take_from(from: &WireEventHeader) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for EventHeader
impl RefUnwindSafe for EventHeader
impl Send for EventHeader
impl Sync for EventHeader
impl Unpin for EventHeader
impl UnwindSafe for EventHeader
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