#[repr(C)]pub enum EventActorType {
APP = 0,
USER = 1,
SYSTEM = 2,
}
Expand description
Event actor type.
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
Trait Implementations§
Source§impl Clone for EventActorType
impl Clone for EventActorType
Source§fn clone(&self) -> EventActorType
fn clone(&self) -> EventActorType
Returns a duplicate 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 EventActorType
impl Debug for EventActorType
Source§impl<'de> Deserialize<'de> for EventActorType
impl<'de> Deserialize<'de> for EventActorType
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 EventActorType
impl Display for EventActorType
Source§impl FromStr for EventActorType
impl FromStr for EventActorType
Source§impl Ord for EventActorType
impl Ord for EventActorType
Source§fn cmp(&self, other: &EventActorType) -> Ordering
fn cmp(&self, other: &EventActorType) -> 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 EventActorType
impl PartialEq for EventActorType
Source§impl PartialOrd for EventActorType
impl PartialOrd for EventActorType
Source§impl Serialize for EventActorType
impl Serialize for EventActorType
impl Copy for EventActorType
impl Eq for EventActorType
impl StructuralPartialEq for EventActorType
Auto Trait Implementations§
impl Freeze for EventActorType
impl RefUnwindSafe for EventActorType
impl Send for EventActorType
impl Sync for EventActorType
impl Unpin for EventActorType
impl UnwindSafe for EventActorType
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