pub enum Part {
Text(TextPart),
Html(HtmlPart),
File(File),
Invocation(Invocation),
Result(Result),
Reaction(Reaction),
}Expand description
One part of a message. On the wire each carries its type; a FILE part goes
up as a reference (a Drive path or an access code), never its bytes.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Part
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnsafeUnpin for Part
impl UnwindSafe for Part
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