pub struct SentMessage {
pub chat_id: ChatId,
pub message: Message,
}Expand description
One message captured by MockTelegram.
Fields§
§chat_id: ChatIdThe chat the message was addressed to.
message: MessageThe message itself, exactly as the caller built it.
Trait Implementations§
Source§impl Clone for SentMessage
impl Clone for SentMessage
Source§fn clone(&self) -> SentMessage
fn clone(&self) -> SentMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SentMessage
impl Debug for SentMessage
impl Eq for SentMessage
Source§impl PartialEq for SentMessage
impl PartialEq for SentMessage
impl StructuralPartialEq for SentMessage
Auto Trait Implementations§
impl Freeze for SentMessage
impl RefUnwindSafe for SentMessage
impl Send for SentMessage
impl Sync for SentMessage
impl Unpin for SentMessage
impl UnsafeUnpin for SentMessage
impl UnwindSafe for SentMessage
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