pub enum EventField {
Null,
Bool(bool),
Int(i64),
String(String),
Object(BTreeMap<String, EventField>),
}Variants§
Trait Implementations§
Source§impl Clone for EventField
impl Clone for EventField
Source§fn clone(&self) -> EventField
fn clone(&self) -> EventField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventField
impl Debug for EventField
Source§impl<'de> Deserialize<'de> for EventField
impl<'de> Deserialize<'de> for EventField
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 From<&str> for EventField
impl From<&str> for EventField
Source§impl From<String> for EventField
impl From<String> for EventField
Source§impl From<bool> for EventField
impl From<bool> for EventField
Source§impl From<i64> for EventField
impl From<i64> for EventField
Source§impl From<u64> for EventField
impl From<u64> for EventField
Source§impl PartialEq for EventField
impl PartialEq for EventField
Source§fn eq(&self, other: &EventField) -> bool
fn eq(&self, other: &EventField) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventField
impl Serialize for EventField
impl StructuralPartialEq for EventField
Auto Trait Implementations§
impl Freeze for EventField
impl RefUnwindSafe for EventField
impl Send for EventField
impl Sync for EventField
impl Unpin for EventField
impl UnsafeUnpin for EventField
impl UnwindSafe for EventField
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