pub struct ArtifactTypeConfig {
pub path: PathBuf,
pub resources: HashMap<String, ResourceConfig>,
}Expand description
Tool configuration.
Defines how a specific tool (e.g., claude-code, opencode, agpm) organizes its resources. Each tool has a base directory and a map of resource types to their subdirectory configurations.
Fields§
§path: PathBufBase directory for this tool (e.g., “.claude”, “.opencode”, “.agpm”)
resources: HashMap<String, ResourceConfig>Map of resource type -> configuration
Trait Implementations§
Source§impl Clone for ArtifactTypeConfig
impl Clone for ArtifactTypeConfig
Source§fn clone(&self) -> ArtifactTypeConfig
fn clone(&self) -> ArtifactTypeConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ArtifactTypeConfig
impl Debug for ArtifactTypeConfig
Source§impl<'de> Deserialize<'de> for ArtifactTypeConfig
impl<'de> Deserialize<'de> for ArtifactTypeConfig
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 ArtifactTypeConfig
impl RefUnwindSafe for ArtifactTypeConfig
impl Send for ArtifactTypeConfig
impl Sync for ArtifactTypeConfig
impl Unpin for ArtifactTypeConfig
impl UnwindSafe for ArtifactTypeConfig
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