#[repr(C)]pub enum EventActionType {
NODE_STATUS = 0,
APP_STATUS = 1,
USER_APPROVAL = 2,
NODE_ATTESTATION = 3,
CERTIFICATE = 4,
ADMIN = 5,
APP_HEARTBEAT = 6,
USER_AUTH = 7,
}
Expand description
Event action 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§
NODE_STATUS = 0
APP_STATUS = 1
USER_APPROVAL = 2
NODE_ATTESTATION = 3
CERTIFICATE = 4
ADMIN = 5
APP_HEARTBEAT = 6
USER_AUTH = 7
Trait Implementations§
Source§impl Clone for EventActionType
impl Clone for EventActionType
Source§fn clone(&self) -> EventActionType
fn clone(&self) -> EventActionType
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 EventActionType
impl Debug for EventActionType
Source§impl<'de> Deserialize<'de> for EventActionType
impl<'de> Deserialize<'de> for EventActionType
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 EventActionType
impl Display for EventActionType
Source§impl FromStr for EventActionType
impl FromStr for EventActionType
Source§impl Ord for EventActionType
impl Ord for EventActionType
Source§fn cmp(&self, other: &EventActionType) -> Ordering
fn cmp(&self, other: &EventActionType) -> 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 EventActionType
impl PartialEq for EventActionType
Source§impl PartialOrd for EventActionType
impl PartialOrd for EventActionType
Source§impl Serialize for EventActionType
impl Serialize for EventActionType
impl Copy for EventActionType
impl Eq for EventActionType
impl StructuralPartialEq for EventActionType
Auto Trait Implementations§
impl Freeze for EventActionType
impl RefUnwindSafe for EventActionType
impl Send for EventActionType
impl Sync for EventActionType
impl Unpin for EventActionType
impl UnwindSafe for EventActionType
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