pub struct AgentConfig {
pub instance_id: ProtectedString,
pub work_dir: ProtectedPath,
pub environment: Option<String>,
pub hostname: Option<String>,
/* private fields */
}Expand description
Agent identity and runtime configuration.
Fields§
§instance_id: ProtectedStringUnique instance identifier (for correlation)
work_dir: ProtectedPathWorking directory for agent state
environment: Option<String>Optional environment label (dev, staging, prod)
hostname: Option<String>Hostname for tag derivation (defaults to system hostname)
Trait Implementations§
Source§impl Debug for AgentConfig
impl Debug for AgentConfig
Source§impl<'de> Deserialize<'de> for AgentConfig
impl<'de> Deserialize<'de> for AgentConfig
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
Source§impl Drop for AgentConfig
impl Drop for AgentConfig
Source§impl Serialize for AgentConfig
impl Serialize for AgentConfig
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnsafeUnpin for AgentConfig
impl UnwindSafe for AgentConfig
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