pub struct InstanceActionInfo {
pub action_type: ActionType,
}
Expand description
Variant wrapper containing the real action.
Fields§
§action_type: ActionType
Enumeration indicating what type of action is contained in the payload Required: true Enum: [FlushMetrics InstanceStart SendCtrlAltDel
Trait Implementations§
Source§impl Clone for InstanceActionInfo
impl Clone for InstanceActionInfo
Source§fn clone(&self) -> InstanceActionInfo
fn clone(&self) -> InstanceActionInfo
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 InstanceActionInfo
impl Debug for InstanceActionInfo
Source§impl<'de> Deserialize<'de> for InstanceActionInfo
impl<'de> Deserialize<'de> for InstanceActionInfo
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 Hash for InstanceActionInfo
impl Hash for InstanceActionInfo
Source§impl Ord for InstanceActionInfo
impl Ord for InstanceActionInfo
Source§fn cmp(&self, other: &InstanceActionInfo) -> Ordering
fn cmp(&self, other: &InstanceActionInfo) -> 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 InstanceActionInfo
impl PartialEq for InstanceActionInfo
Source§impl PartialOrd for InstanceActionInfo
impl PartialOrd for InstanceActionInfo
Source§impl Serialize for InstanceActionInfo
impl Serialize for InstanceActionInfo
impl Eq for InstanceActionInfo
impl StructuralPartialEq for InstanceActionInfo
Auto Trait Implementations§
impl Freeze for InstanceActionInfo
impl RefUnwindSafe for InstanceActionInfo
impl Send for InstanceActionInfo
impl Sync for InstanceActionInfo
impl Unpin for InstanceActionInfo
impl UnwindSafe for InstanceActionInfo
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more