pub struct Chat {
pub chat_id: Option<String>,
pub reply_sign: Option<String>,
pub client_name: Option<String>,
pub good_card: Option<Box<Listing>>,
pub last_message: Option<Box<LastMessage>>,
}Fields§
§chat_id: Option<String>ID чата
reply_sign: Option<String>Подпись чата. Требуется при отправке сообщения
client_name: Option<String>Имя покупателя
good_card: Option<Box<Listing>>§last_message: Option<Box<LastMessage>>Последнее сообщение в чате
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chat
impl<'de> Deserialize<'de> for Chat
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 StructuralPartialEq for Chat
Auto Trait Implementations§
impl Forget for Chat
impl Freeze for Chat
impl Move for Chat
impl RefUnwindSafe for Chat
impl Send for Chat
impl Sync for Chat
impl Unpin for Chat
impl UnsafeUnpin for Chat
impl UnwindSafe for Chat
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