pub enum Node {
Part(Part),
File(FilePart),
Multipart((Headers, Vec<Node>)),
}
Expand description
A multipart part which could be either a file, in memory, or another multipart container containing nested parts.
Variants§
Part(Part)
A part in memory
File(FilePart)
A part streamed to a file
Multipart((Headers, Vec<Node>))
A container of nested multipart parts
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl !RefUnwindSafe for Node
impl !Send for Node
impl !Sync for Node
impl Unpin for Node
impl !UnwindSafe for Node
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