Enum android_logd_logger::EventValue
source · 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 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 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
source§fn eq(&self, other: &EventValue) -> bool
fn eq(&self, other: &EventValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventValue
Auto Trait Implementations§
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