pub struct StagedFile {
pub path: String,
pub data: Vec<u8>,
pub metadata: Option<ExtensionRow>,
}Expand description
A file staged in the batch — owns the data until compression consumes it
Fields§
§path: String§data: Vec<u8>§metadata: Option<ExtensionRow>Metadata extracted by plugin (populated after extract phase)
Auto Trait Implementations§
impl Freeze for StagedFile
impl RefUnwindSafe for StagedFile
impl Send for StagedFile
impl Sync for StagedFile
impl Unpin for StagedFile
impl UnsafeUnpin for StagedFile
impl UnwindSafe for StagedFile
Blanket Implementations§
impl<T> Allocation for T
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