pub struct NewObject {
pub file_name: Option<String>,
pub media_type: String,
pub bytes: Vec<u8>,
}Fields§
§file_name: Option<String>§media_type: String§bytes: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewObject
impl RefUnwindSafe for NewObject
impl Send for NewObject
impl Sync for NewObject
impl Unpin for NewObject
impl UnsafeUnpin for NewObject
impl UnwindSafe for NewObject
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