pub enum EventValue {
Void,
Int(i32),
Long(i64),
Float(f32),
String(String),
List(Vec<EventValue>),
}
Expand description
Event’s value
Variants§
Void
Void value
Int(i32)
Int value
Long(i64)
Long value
Float(f32)
Float value
String(String)
String value
List(Vec<EventValue>)
List of values
Implementations§
Source§impl EventValue
impl EventValue
Trait Implementations§
Source§impl Clone for EventValue
impl Clone for EventValue
Source§fn clone(&self) -> EventValue
fn clone(&self) -> EventValue
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 EventValue
impl Debug for EventValue
Source§impl From<&str> for EventValue
impl From<&str> for EventValue
Source§impl From<()> for EventValue
impl From<()> for EventValue
Source§impl<T, U> From<(T, U)> for EventValue
impl<T, U> From<(T, U)> for EventValue
Source§impl<T, U, V> From<(T, U, V)> for EventValue
impl<T, U, V> From<(T, U, V)> for EventValue
Source§impl<T, U, V, X> From<(T, U, V, X)> for EventValue
impl<T, U, V, X> From<(T, U, V, X)> for EventValue
Source§fn from(value: (T, U, V, X)) -> Self
fn from(value: (T, U, V, X)) -> Self
Converts to this type from the input type.
Source§impl<T, U, V, X, Y> From<(T, U, V, X, Y)> for EventValuewhere
T: Into<EventValue>,
U: Into<EventValue>,
V: Into<EventValue>,
X: Into<EventValue>,
Y: Into<EventValue>,
impl<T, U, V, X, Y> From<(T, U, V, X, Y)> for EventValuewhere
T: Into<EventValue>,
U: Into<EventValue>,
V: Into<EventValue>,
X: Into<EventValue>,
Y: Into<EventValue>,
Source§fn from(value: (T, U, V, X, Y)) -> Self
fn from(value: (T, U, V, X, Y)) -> Self
Converts to this type from the input type.
Source§impl<T> From<Vec<T>> for EventValuewhere
T: Into<EventValue>,
impl<T> From<Vec<T>> for EventValuewhere
T: Into<EventValue>,
Source§impl From<f32> for EventValue
impl From<f32> for EventValue
Source§impl From<i32> for EventValue
impl From<i32> for EventValue
Source§impl From<i64> for EventValue
impl From<i64> for EventValue
Source§impl<T> FromIterator<T> for EventValuewhere
T: Into<EventValue>,
impl<T> FromIterator<T> for EventValuewhere
T: Into<EventValue>,
Source§fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl PartialEq for EventValue
impl PartialEq for EventValue
impl StructuralPartialEq for EventValue
Auto Trait Implementations§
impl Freeze for EventValue
impl RefUnwindSafe for EventValue
impl Send for EventValue
impl Sync for EventValue
impl Unpin for EventValue
impl UnwindSafe for EventValue
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