pub struct UploadPostFile { /* private fields */ }Expand description
A post file that is meant for uploading.
Implementations§
Source§impl UploadPostFile
impl UploadPostFile
Sourcepub fn from_bytes(file_name: &str, file_data: Vec<u8>) -> Self
pub fn from_bytes(file_name: &str, file_data: Vec<u8>) -> Self
Create this from bytes.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for UploadPostFile
impl !RefUnwindSafe for UploadPostFile
impl Send for UploadPostFile
impl Sync for UploadPostFile
impl Unpin for UploadPostFile
impl !UnwindSafe for UploadPostFile
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