pub struct FormattedInterjection<Attachment> {
pub text: String,
pub attachments: Vec<Attachment>,
}Expand description
A drained entry, wrapped and ready to emit as a synthetic user message.
Fields§
§text: String§attachments: Vec<Attachment>Trait Implementations§
Source§impl<Attachment: Clone> Clone for FormattedInterjection<Attachment>
impl<Attachment: Clone> Clone for FormattedInterjection<Attachment>
Source§fn clone(&self) -> FormattedInterjection<Attachment>
fn clone(&self) -> FormattedInterjection<Attachment>
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<Attachment: Debug> Debug for FormattedInterjection<Attachment>
impl<Attachment: Debug> Debug for FormattedInterjection<Attachment>
Source§impl<Attachment: PartialEq> PartialEq for FormattedInterjection<Attachment>
impl<Attachment: PartialEq> PartialEq for FormattedInterjection<Attachment>
impl<Attachment: PartialEq> StructuralPartialEq for FormattedInterjection<Attachment>
Auto Trait Implementations§
impl<Attachment> Freeze for FormattedInterjection<Attachment>
impl<Attachment> RefUnwindSafe for FormattedInterjection<Attachment>where
Attachment: RefUnwindSafe,
impl<Attachment> Send for FormattedInterjection<Attachment>where
Attachment: Send,
impl<Attachment> Sync for FormattedInterjection<Attachment>where
Attachment: Sync,
impl<Attachment> Unpin for FormattedInterjection<Attachment>where
Attachment: Unpin,
impl<Attachment> UnsafeUnpin for FormattedInterjection<Attachment>
impl<Attachment> UnwindSafe for FormattedInterjection<Attachment>where
Attachment: UnwindSafe,
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