pub struct EventEntry {
pub id: String,
pub reason: Option<String>,
}Expand description
{"id": "...", "reason": "..."} row used by event ban / moderation
queue lists.
Fields§
§id: String32-byte hex event id.
reason: Option<String>Optional moderation reason.
Trait Implementations§
Source§impl Clone for EventEntry
impl Clone for EventEntry
Source§fn clone(&self) -> EventEntry
fn clone(&self) -> EventEntry
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 EventEntry
impl Debug for EventEntry
Source§impl<'de> Deserialize<'de> for EventEntry
impl<'de> Deserialize<'de> for EventEntry
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 EventEntry
Source§impl PartialEq for EventEntry
impl PartialEq for EventEntry
Source§impl Serialize for EventEntry
impl Serialize for EventEntry
impl StructuralPartialEq for EventEntry
Auto Trait Implementations§
impl Freeze for EventEntry
impl RefUnwindSafe for EventEntry
impl Send for EventEntry
impl Sync for EventEntry
impl Unpin for EventEntry
impl UnsafeUnpin for EventEntry
impl UnwindSafe for EventEntry
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.