pub struct SentRef {
pub target: ReplyTarget,
pub message_id: MessageId,
}Expand description
A message the bot sent, for later edits.
Fields§
§target: ReplyTargetWhere it was sent.
message_id: MessageIdThe platform’s id for it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SentRef
impl<'de> Deserialize<'de> for SentRef
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 Eq for SentRef
impl StructuralPartialEq for SentRef
Auto Trait Implementations§
impl Freeze for SentRef
impl RefUnwindSafe for SentRef
impl Send for SentRef
impl Sync for SentRef
impl Unpin for SentRef
impl UnsafeUnpin for SentRef
impl UnwindSafe for SentRef
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