Struct deno_graph::source::CacheInfo
source · pub struct CacheInfo {
pub local: Option<PathBuf>,
pub emit: Option<PathBuf>,
pub map: Option<PathBuf>,
}Expand description
Information that comes from an external source which can be optionally included in the module graph.
Fields§
§local: Option<PathBuf>The path to the local representation of the file. If a local file, the path to the original file, if a remote file, the path to the file in the cache.
emit: Option<PathBuf>If the file has been transpiled, the path to the cached version of the transpiled JavaScript.
map: Option<PathBuf>If the file has been transpiled and there is a source map separate from the transpiled JavaScript, the path to this file.
Trait Implementations§
source§impl<'de> Deserialize<'de> for CacheInfo
impl<'de> Deserialize<'de> for CacheInfo
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 RefUnwindSafe for CacheInfo
impl Send for CacheInfo
impl Sync for CacheInfo
impl Unpin for CacheInfo
impl UnwindSafe for CacheInfo
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