pub struct ProcessedFile {
pub path: PathBuf,
pub content: String,
pub chunks: Vec<String>,
pub file_type: Option<FileType>,
pub size: u64,
pub hash: String,
}Fields§
§path: PathBuf§content: String§chunks: Vec<String>§file_type: Option<FileType>§size: u64§hash: StringTrait Implementations§
Source§impl Clone for ProcessedFile
impl Clone for ProcessedFile
Source§fn clone(&self) -> ProcessedFile
fn clone(&self) -> ProcessedFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProcessedFile
impl RefUnwindSafe for ProcessedFile
impl Send for ProcessedFile
impl Sync for ProcessedFile
impl Unpin for ProcessedFile
impl UnsafeUnpin for ProcessedFile
impl UnwindSafe for ProcessedFile
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