Struct botx_api::bot::models::command_data::ChatCreatedCommandData
source · pub struct ChatCreatedCommandData {
pub group_chat_id: Uuid,
pub chat_type: ChatType,
pub name: String,
pub creator: Uuid,
pub members: Vec<ChatCreatedCommandMembers>,
}Expand description
Событие отправляется при создание чата
Fields§
§group_chat_id: Uuiduuid чата
chat_type: ChatTypeтип чата
name: Stringимя чата
creator: Uuidhuid создателя чата
members: Vec<ChatCreatedCommandMembers>Trait Implementations§
source§impl Debug for ChatCreatedCommandData
impl Debug for ChatCreatedCommandData
source§impl<'de> Deserialize<'de> for ChatCreatedCommandData
impl<'de> Deserialize<'de> for ChatCreatedCommandData
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<ChatCreatedCommandData> for ChatCreatedCommandData
impl PartialEq<ChatCreatedCommandData> for ChatCreatedCommandData
source§fn eq(&self, other: &ChatCreatedCommandData) -> bool
fn eq(&self, other: &ChatCreatedCommandData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ChatCreatedCommandData
impl Serialize for ChatCreatedCommandData
impl Eq for ChatCreatedCommandData
impl StructuralEq for ChatCreatedCommandData
impl StructuralPartialEq for ChatCreatedCommandData
Auto Trait Implementations§
impl RefUnwindSafe for ChatCreatedCommandData
impl Send for ChatCreatedCommandData
impl Sync for ChatCreatedCommandData
impl Unpin for ChatCreatedCommandData
impl UnwindSafe for ChatCreatedCommandData
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
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.