pub enum EventScope {
Named(Name),
}
Expand description
The scope of an event.
Variants§
Trait Implementations§
Source§impl Clone for EventScope
impl Clone for EventScope
Source§fn clone(&self) -> EventScope
fn clone(&self) -> EventScope
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 EventScope
impl Debug for EventScope
Source§impl<'de> Deserialize<'de> for EventScope
impl<'de> Deserialize<'de> for EventScope
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<'a> Display for EventScope
impl<'a> Display for EventScope
Source§impl<'a> From<&'a EventScope> for AnyRef<'a>
impl<'a> From<&'a EventScope> for AnyRef<'a>
Source§fn from(r: &'a EventScope) -> Self
fn from(r: &'a EventScope) -> Self
Converts to this type from the input type.
Source§impl FromStr for EventScope
impl FromStr for EventScope
Source§impl Hash for EventScope
impl Hash for EventScope
Source§impl Ord for EventScope
impl Ord for EventScope
Source§fn cmp(&self, other: &EventScope) -> Ordering
fn cmp(&self, other: &EventScope) -> 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 for EventScope
impl PartialEq for EventScope
Source§impl PartialOrd for EventScope
impl PartialOrd for EventScope
Source§impl Serialize for EventScope
impl Serialize for EventScope
impl Eq for EventScope
impl StructuralPartialEq for EventScope
Auto Trait Implementations§
impl Freeze for EventScope
impl RefUnwindSafe for EventScope
impl Send for EventScope
impl Sync for EventScope
impl Unpin for EventScope
impl UnwindSafe for EventScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.