pub struct DbtProject {
pub name: String,
pub model_paths: Vec<String>,
pub seed_paths: Vec<String>,
pub snapshot_paths: Vec<String>,
pub test_paths: Vec<String>,
pub macro_paths: Vec<String>,
pub analysis_paths: Vec<String>,
pub vars: HashMap<String, Value>,
}Fields§
§name: String§model_paths: Vec<String>§seed_paths: Vec<String>§snapshot_paths: Vec<String>§test_paths: Vec<String>§macro_paths: Vec<String>§analysis_paths: Vec<String>§vars: HashMap<String, Value>Implementations§
Source§impl DbtProject
impl DbtProject
pub fn load(project_dir: &Path) -> Result<Self>
pub fn resolve_paths(&self, project_dir: &Path) -> ResolvedPaths
Trait Implementations§
Source§impl Debug for DbtProject
impl Debug for DbtProject
Source§impl<'de> Deserialize<'de> for DbtProject
impl<'de> Deserialize<'de> for DbtProject
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 DbtProject
impl RefUnwindSafe for DbtProject
impl Send for DbtProject
impl Sync for DbtProject
impl Unpin for DbtProject
impl UnsafeUnpin for DbtProject
impl UnwindSafe for DbtProject
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more