pub struct ChatsListResult {
pub group_chat_id: Uuid,
pub chat_type: ChatType,
pub name: String,
pub description: String,
pub members: Vec<Uuid>,
pub shared_history: bool,
pub inserted_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Результат обработки запроса списка чатов
Fields§
§group_chat_id: Uuidid чата
chat_type: ChatTypeТип чата
name: StringНазвание чата
description: StringОписание чата
members: Vec<Uuid>Участники чата
Признак общей истории в чате
inserted_at: DateTime<Utc>Время создания чата
updated_at: DateTime<Utc>Время последнего обновления чата
Trait Implementations§
Source§impl Clone for ChatsListResult
impl Clone for ChatsListResult
Source§fn clone(&self) -> ChatsListResult
fn clone(&self) -> ChatsListResult
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 ChatsListResult
impl Debug for ChatsListResult
Source§impl<'de> Deserialize<'de> for ChatsListResult
impl<'de> Deserialize<'de> for ChatsListResult
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 ChatsListResult
impl RefUnwindSafe for ChatsListResult
impl Send for ChatsListResult
impl Sync for ChatsListResult
impl Unpin for ChatsListResult
impl UnwindSafe for ChatsListResult
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