pub struct ParseRequest {
pub path: PathBuf,
pub vname_path: String,
pub corpus: String,
pub package: String,
pub source: Option<Vec<u8>>,
}Fields§
§path: PathBufAbsolute path on disk — used to read/mmap the file.
vname_path: StringRepo-relative path used in VName construction (the stable graph key).
Must match the vname_path passed to Indexer::parse_file_with_vname.
corpus: String§package: String§source: Option<Vec<u8>>Populated only for git-blob indexing (content not on disk).
Trait Implementations§
Source§impl Clone for ParseRequest
impl Clone for ParseRequest
Source§fn clone(&self) -> ParseRequest
fn clone(&self) -> ParseRequest
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 moreSource§impl Debug for ParseRequest
impl Debug for ParseRequest
Source§impl<'de> Deserialize<'de> for ParseRequest
impl<'de> Deserialize<'de> for ParseRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParseRequest
impl RefUnwindSafe for ParseRequest
impl Send for ParseRequest
impl Sync for ParseRequest
impl Unpin for ParseRequest
impl UnsafeUnpin for ParseRequest
impl UnwindSafe for ParseRequest
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