pub struct FileResponse {
pub content_type: MimeType,
pub data: Vec<u8>,
}
Fields§
§content_type: MimeType
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for FileResponse
impl Clone for FileResponse
Source§fn clone(&self) -> FileResponse
fn clone(&self) -> FileResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FileResponse
impl RefUnwindSafe for FileResponse
impl Send for FileResponse
impl Sync for FileResponse
impl Unpin for FileResponse
impl UnwindSafe for FileResponse
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