pub struct EventAttribute {
pub key: String,
pub value: String,
pub index: bool,
}Fields§
§key: StringThe event key.
value: StringThe event value.
index: boolWhether CometBFT’s indexer should index this event.
This field is nondeterministic.
Trait 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 (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 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
impl Eq for EventAttribute
Source§impl From<EventAttribute> for EventAttribute
impl From<EventAttribute> for EventAttribute
Source§fn from(msg: EventAttribute) -> Self
fn from(msg: EventAttribute) -> Self
Converts to this type from the input type.
Source§impl From<EventAttribute> for EventAttribute
impl From<EventAttribute> for EventAttribute
Source§fn from(msg: EventAttribute) -> Self
fn from(msg: EventAttribute) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EventAttribute
impl PartialEq for EventAttribute
Source§fn eq(&self, other: &EventAttribute) -> bool
fn eq(&self, other: &EventAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventAttribute
impl Serialize for EventAttribute
impl StructuralPartialEq for EventAttribute
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.