pub struct AgentMetadata {
pub agent_id: AgentId,
pub args: Vec<String>,
pub env: Vec<(String, String)>,
pub config_vars: Vec<(String, String)>,
pub status: AgentStatus,
pub component_version: u64,
pub retry_count: u64,
}
Expand description
Metadata about an agent
Fields§
§agent_id: AgentId
The agent ID, consists of the component ID, agent type and agent parameters
args: Vec<String>
Command line arguments seen by the agent
env: Vec<(String, String)>
Environment variables seen by the agent
config_vars: Vec<(String, String)>
Configuration variables seen by the agent
status: AgentStatus
The current agent status
component_version: u64
The component version the agent is running with
retry_count: u64
The agent’s current retry count
Trait Implementations§
Source§impl Clone for AgentMetadata
impl Clone for AgentMetadata
Source§fn clone(&self) -> AgentMetadata
fn clone(&self) -> AgentMetadata
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 AgentMetadata
impl RefUnwindSafe for AgentMetadata
impl Send for AgentMetadata
impl Sync for AgentMetadata
impl Unpin for AgentMetadata
impl UnwindSafe for AgentMetadata
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