pub struct EventAttribute {
pub key: String,
pub value: String,
}Expand description
A key-value pair within an Event.
Fields§
§key: String§value: StringTrait Implementations§
Source§impl Clone for EventAttribute
impl Clone for EventAttribute
Source§fn clone(&self) -> EventAttribute
fn clone(&self) -> EventAttribute
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 EventAttribute
impl Debug for EventAttribute
Source§impl<'de> Deserialize<'de> for EventAttribute
impl<'de> Deserialize<'de> for EventAttribute
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
Auto Trait Implementations§
impl Freeze for EventAttribute
impl RefUnwindSafe for EventAttribute
impl Send for EventAttribute
impl Sync for EventAttribute
impl Unpin for EventAttribute
impl UnsafeUnpin for EventAttribute
impl UnwindSafe for EventAttribute
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