pub struct Project {Show 17 fields
pub name: ProjectName,
pub git_url: Option<PathBuf>,
pub kind: ProjectKind,
pub family: ProjectFamily,
pub language: Language,
pub tag_prefix: String,
pub public_modules: Vec<String>,
pub internal_modules: Vec<String>,
pub layout: ProjectLayout,
pub scan_paths: Vec<String>,
pub app_roots: Vec<String>,
pub include_apps: Vec<ApplicationName>,
pub exclude_apps: Vec<ApplicationName>,
pub excluded_subdirs: Vec<String>,
pub tag_pattern: Option<TagGlob>,
pub min_tag: Option<TagName>,
pub exclude_tag_markers: Vec<String>,
}Fields§
§name: ProjectName§git_url: Option<PathBuf>None for self-projects; the repo is the runtime --repo-dir-path.
kind: ProjectKind§family: ProjectFamily§language: Language§tag_prefix: String§public_modules: Vec<String>§internal_modules: Vec<String>§layout: ProjectLayout§scan_paths: Vec<String>§app_roots: Vec<String>§include_apps: Vec<ApplicationName>§exclude_apps: Vec<ApplicationName>§excluded_subdirs: Vec<String>§tag_pattern: Option<TagGlob>§min_tag: Option<TagName>§exclude_tag_markers: Vec<String>Implementations§
Source§impl Project
impl Project
Sourcepub fn is_prerelease_tag(&self, tag: &TagName) -> bool
pub fn is_prerelease_tag(&self, tag: &TagName) -> bool
True if tag contains any of this project’s pre-release markers.
Sourcepub fn require_git_url(&self) -> Result<&Path, ConfigError>
pub fn require_git_url(&self) -> Result<&Path, ConfigError>
git_url is only present for external projects. Returns a clear
error when callers ask for it on a self-project.
pub fn is_self(&self) -> bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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
impl Eq for Project
impl StructuralPartialEq for Project
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnsafeUnpin for Project
impl UnwindSafe for Project
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