pub struct OutputFile {
pub data: Vec<u8>,
pub filename: String,
pub mime_type: String,
}Expand description
A single output file produced by a node.
Fields§
§data: Vec<u8>The raw file data (bytes) of the processed output.
filename: StringThe filename for this output (e.g., “photo-compressed.jpg”).
mime_type: StringThe MIME type of the output (e.g., “image/jpeg”).
Auto Trait Implementations§
impl Freeze for OutputFile
impl RefUnwindSafe for OutputFile
impl Send for OutputFile
impl Sync for OutputFile
impl Unpin for OutputFile
impl UnsafeUnpin for OutputFile
impl UnwindSafe for OutputFile
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