pub struct Paths {
pub state_dir: PathBuf,
pub work_dir: PathBuf,
pub logbook: PathBuf,
pub prompt_dir: PathBuf,
pub http_addr: String,
}Expand description
Filesystem and network locations used by the Tower.
Fields§
§state_dir: PathBufRoot directory holding one hangar per agent.
work_dir: PathBufThe shared working directory agents operate in.
logbook: PathBufPath to the shared Logbook.
prompt_dir: PathBufDirectory that prompt_file paths are resolved against.
http_addr: StringAddress the HTTP API binds to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Paths
impl<'de> Deserialize<'de> for Paths
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 Paths
impl RefUnwindSafe for Paths
impl Send for Paths
impl Sync for Paths
impl Unpin for Paths
impl UnsafeUnpin for Paths
impl UnwindSafe for Paths
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