Struct component_events::descriptor::EventDescriptor
source · pub struct EventDescriptor {
pub event_type: Option<EventType>,
pub capability_name: Option<String>,
pub target_moniker: Option<String>,
pub exit_status: Option<ExitStatus>,
pub event_is_ok: Option<bool>,
}
Fields§
§event_type: Option<EventType>
§capability_name: Option<String>
§target_moniker: Option<String>
§exit_status: Option<ExitStatus>
§event_is_ok: Option<bool>
Trait Implementations§
source§impl Clone for EventDescriptor
impl Clone for EventDescriptor
source§fn clone(&self) -> EventDescriptor
fn clone(&self) -> EventDescriptor
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 EventDescriptor
impl Debug for EventDescriptor
source§impl Ord for EventDescriptor
impl Ord for EventDescriptor
source§fn cmp(&self, other: &EventDescriptor) -> Ordering
fn cmp(&self, other: &EventDescriptor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EventDescriptor> for EventDescriptor
impl PartialEq<EventDescriptor> for EventDescriptor
source§fn eq(&self, other: &EventDescriptor) -> bool
fn eq(&self, other: &EventDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EventDescriptor> for EventDescriptor
impl PartialOrd<EventDescriptor> for EventDescriptor
source§fn partial_cmp(&self, other: &EventDescriptor) -> Option<Ordering>
fn partial_cmp(&self, other: &EventDescriptor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<&Event> for EventDescriptor
impl TryFrom<&Event> for EventDescriptor
impl Eq for EventDescriptor
impl StructuralEq for EventDescriptor
impl StructuralPartialEq for EventDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for EventDescriptor
impl Send for EventDescriptor
impl Sync for EventDescriptor
impl Unpin for EventDescriptor
impl UnwindSafe for EventDescriptor
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