pub struct EventOrigin(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for EventOrigin
impl Clone for EventOrigin
Source§fn clone(&self) -> EventOrigin
fn clone(&self) -> EventOrigin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventOrigin
impl Debug for EventOrigin
Source§impl<'de> Deserialize<'de> for EventOrigin
impl<'de> Deserialize<'de> for EventOrigin
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 Display for EventOrigin
impl Display for EventOrigin
impl Eq for EventOrigin
Source§impl Hash for EventOrigin
impl Hash for EventOrigin
Source§impl JsonSchema for EventOrigin
impl JsonSchema for EventOrigin
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl Ord for EventOrigin
impl Ord for EventOrigin
Source§fn cmp(&self, other: &EventOrigin) -> Ordering
fn cmp(&self, other: &EventOrigin) -> Ordering
1.21.0 (const: unstable) · 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 for EventOrigin
impl PartialEq for EventOrigin
Source§fn eq(&self, other: &EventOrigin) -> bool
fn eq(&self, other: &EventOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for EventOrigin
impl PartialOrd for EventOrigin
Source§impl Serialize for EventOrigin
impl Serialize for EventOrigin
impl StructuralPartialEq for EventOrigin
Auto Trait Implementations§
impl Freeze for EventOrigin
impl RefUnwindSafe for EventOrigin
impl Send for EventOrigin
impl Sync for EventOrigin
impl Unpin for EventOrigin
impl UnsafeUnpin for EventOrigin
impl UnwindSafe for EventOrigin
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