pub struct Payload {
pub body: Vec<u8>,
pub content_type: &'static str,
pub filename: Option<String>,
}Expand description
What to send for path: body, content type, single-file name, warnings.
Fields§
§body: Vec<u8>§content_type: &'static str§filename: Option<String>Auto Trait Implementations§
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnsafeUnpin for Payload
impl UnwindSafe for Payload
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