pub struct OutputFile {
pub data: FileData,
pub filename: String,
pub mime_type: String,
pub metadata: Map<String, Value>,
}Expand description
A single output file produced by a node.
Fields§
§data: FileDataThe file content — in-memory bytes or a path on disk.
filename: StringThe filename for this output (e.g., “photo-compressed.jpg”).
mime_type: StringThe MIME type of the output (e.g., “image/jpeg”).
metadata: Map<String, Value>Per-file metadata (e.g., CSV row column values for loop iteration).
When non-empty, takes priority over NodeOutput.metadata in collect_output.
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