pub struct DependencyGraph {
pub root: PathBuf,
pub order: Vec<PathBuf>,
pub files: HashMap<PathBuf, FileNode>,
pub datasource_declarations: HashMap<String, PathBuf>,
pub datasource_updaters: HashMap<String, Vec<PathBuf>>,
pub warnings: Vec<String>,
}Expand description
Result of dependency resolution
Fields§
§root: PathBufRoot file that was analyzed
order: Vec<PathBuf>All files in dependency order (dependencies come before dependents)
files: HashMap<PathBuf, FileNode>Detailed information about each file
datasource_declarations: HashMap<String, PathBuf>Mapping of datasource names to the file that declares them
datasource_updaters: HashMap<String, Vec<PathBuf>>Mapping of datasource names to files that update them (via persist)
warnings: Vec<String>Any errors encountered (non-fatal)
Trait Implementations§
Source§impl Clone for DependencyGraph
impl Clone for DependencyGraph
Source§fn clone(&self) -> DependencyGraph
fn clone(&self) -> DependencyGraph
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 DependencyGraph
impl Debug for DependencyGraph
Auto Trait Implementations§
impl Freeze for DependencyGraph
impl RefUnwindSafe for DependencyGraph
impl Send for DependencyGraph
impl Sync for DependencyGraph
impl Unpin for DependencyGraph
impl UnsafeUnpin for DependencyGraph
impl UnwindSafe for DependencyGraph
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