pub struct PathsConfig {
pub workspace: String,
pub output_dir: Option<String>,
pub skills_repo: String,
pub skills_root: Option<String>,
pub data_dir: PathBuf,
}Expand description
工作区与输出路径配置
Fields§
§workspace: String§output_dir: Option<String>§skills_repo: String§skills_root: Option<String>沙箱内 skill 路径的根目录,用于 path validation
data_dir: PathBufImplementations§
Source§impl PathsConfig
impl PathsConfig
Trait Implementations§
Source§impl Clone for PathsConfig
impl Clone for PathsConfig
Source§fn clone(&self) -> PathsConfig
fn clone(&self) -> PathsConfig
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 moreAuto Trait Implementations§
impl Freeze for PathsConfig
impl RefUnwindSafe for PathsConfig
impl Send for PathsConfig
impl Sync for PathsConfig
impl Unpin for PathsConfig
impl UnsafeUnpin for PathsConfig
impl UnwindSafe for PathsConfig
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