pub enum ArtifactLocation {
OutDir,
WorkspaceRoot,
}Expand description
Which base directory an Artifact’s path is relative to.
Core Preset::Publish output goes into OutDir.
Platform overlays that need to place a manifest at the repository
root (e.g. context7.json, .devin/wiki.json) use
WorkspaceRoot so callers know not to
collapse them under out_dir.
Variants§
OutDir
Path is relative to Config::out_dir
(default <workspace>/docs/aidoc/).
WorkspaceRoot
Path is relative to the workspace root (the parent of the
top-level Cargo.toml).
Trait Implementations§
Source§impl Clone for ArtifactLocation
impl Clone for ArtifactLocation
Source§fn clone(&self) -> ArtifactLocation
fn clone(&self) -> ArtifactLocation
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 moreimpl Copy for ArtifactLocation
Source§impl Debug for ArtifactLocation
impl Debug for ArtifactLocation
Source§impl Default for ArtifactLocation
impl Default for ArtifactLocation
Source§fn default() -> ArtifactLocation
fn default() -> ArtifactLocation
Returns the “default value” for a type. Read more
impl Eq for ArtifactLocation
Source§impl PartialEq for ArtifactLocation
impl PartialEq for ArtifactLocation
impl StructuralPartialEq for ArtifactLocation
Auto Trait Implementations§
impl Freeze for ArtifactLocation
impl RefUnwindSafe for ArtifactLocation
impl Send for ArtifactLocation
impl Sync for ArtifactLocation
impl Unpin for ArtifactLocation
impl UnsafeUnpin for ArtifactLocation
impl UnwindSafe for ArtifactLocation
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