pub struct FileNode {
pub path: PathBuf,
pub relative_path: PathBuf,
pub imports: Vec<ImportInfo>,
pub datasources: Vec<DatasourceInfo>,
pub persists: Vec<PersistInfo>,
pub import_dependencies: Vec<PathBuf>,
pub updates_datasources: Vec<String>,
pub declares_datasources: Vec<String>,
pub depends_on_datasources: Vec<String>,
}Expand description
A node in the dependency graph
Fields§
§path: PathBufAbsolute path to the file
relative_path: PathBufRelative path from the root
imports: Vec<ImportInfo>List of imports in this file
datasources: Vec<DatasourceInfo>List of datasources declared in this file
persists: Vec<PersistInfo>List of persist statements in this file
import_dependencies: Vec<PathBuf>List of resolved import dependencies (paths to other files)
updates_datasources: Vec<String>Datasources this file updates (via persist)
declares_datasources: Vec<String>Datasources this file declares
depends_on_datasources: Vec<String>Datasources this file depends on (through imports)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileNode
impl RefUnwindSafe for FileNode
impl Send for FileNode
impl Sync for FileNode
impl Unpin for FileNode
impl UnsafeUnpin for FileNode
impl UnwindSafe for FileNode
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