pub struct Reply {
    pub source_sync_id: Uuid,
    pub sender: Uuid,
    pub body: String,
    pub mentions: Vec<Mention>,
    pub attachment: Attachment,
    pub reply_type: ReplyType,
    pub source_group_chat_id: Option<Uuid>,
    pub source_chat_name: Option<String>,
}Fields§
§source_sync_id: Uuidsync_id исходного сообщения
sender: Uuidhuid автора сообщения
body: Stringтекст исходного сообщения
mentions: Vec<Mention>меншены исходного сообщения
attachment: Attachmentвложение исходного сообщения
reply_type: ReplyTypechat|botx|group_chat|channel
source_group_chat_id: Option<Uuid>(Optional) - ID чата откуда переслали сообщение
source_chat_name: Option<String>(Optional) - имя чата откуда переслали сообщение
Trait Implementations§
source§impl<'de> Deserialize<'de> for Reply
 
impl<'de> Deserialize<'de> for Reply
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<Reply> for Reply
 
impl PartialEq<Reply> for Reply
impl Eq for Reply
impl StructuralEq for Reply
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
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.