Struct racetime::model::ChatDelete
source · pub struct ChatDelete {
pub id: String,
pub user: Option<UserData>,
pub bot: Option<String>,
pub is_bot: bool,
pub deleted_by: UserData,
}
Fields§
§id: String
§user: Option<UserData>
§bot: Option<String>
§is_bot: bool
§deleted_by: UserData
Trait Implementations§
source§impl Clone for ChatDelete
impl Clone for ChatDelete
source§fn clone(&self) -> ChatDelete
fn clone(&self) -> ChatDelete
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 ChatDelete
impl Debug for ChatDelete
source§impl<'de> Deserialize<'de> for ChatDelete
impl<'de> Deserialize<'de> for ChatDelete
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 PartialEq<ChatDelete> for ChatDelete
impl PartialEq<ChatDelete> for ChatDelete
source§fn eq(&self, other: &ChatDelete) -> bool
fn eq(&self, other: &ChatDelete) -> bool
impl Eq for ChatDelete
impl StructuralEq for ChatDelete
impl StructuralPartialEq for ChatDelete
Auto Trait Implementations§
impl RefUnwindSafe for ChatDelete
impl Send for ChatDelete
impl Sync for ChatDelete
impl Unpin for ChatDelete
impl UnwindSafe for ChatDelete
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.