pub struct AgentProfile {Show 14 fields
pub profile_id: String,
pub name: String,
pub domain: AgentDomain,
pub capabilities: Vec<Capability>,
pub supported_content_types: Vec<String>,
pub trust_level: TrustLevel,
pub resource_limits: ResourceLimits,
pub allowed_paths: Vec<String>,
pub denied_paths: Vec<String>,
pub description: String,
pub version: String,
pub registered_at: String,
pub inherits_from: Option<String>,
pub metadata: Value,
}Expand description
A complete agent profile definition
Fields§
§profile_id: StringUnique profile identifier
name: StringHuman-readable name
domain: AgentDomainDomain specialization
capabilities: Vec<Capability>Capabilities this agent advertises
supported_content_types: Vec<String>Content type IDs this agent can work with (empty = all)
trust_level: TrustLevelTrust level
resource_limits: ResourceLimitsResource limits
allowed_paths: Vec<String>Path patterns this agent is allowed to modify (glob patterns, empty = all)
denied_paths: Vec<String>Path patterns this agent is denied from modifying
description: StringDescription
version: StringVersion of the profile schema
registered_at: StringRegistration timestamp
inherits_from: Option<String>Optional parent profile to inherit from
metadata: ValueArbitrary metadata
Trait Implementations§
Source§impl Clone for AgentProfile
impl Clone for AgentProfile
Source§fn clone(&self) -> AgentProfile
fn clone(&self) -> AgentProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentProfile
impl Debug for AgentProfile
Source§impl<'de> Deserialize<'de> for AgentProfile
impl<'de> Deserialize<'de> for AgentProfile
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 AgentProfile
impl RefUnwindSafe for AgentProfile
impl Send for AgentProfile
impl Sync for AgentProfile
impl Unpin for AgentProfile
impl UnsafeUnpin for AgentProfile
impl UnwindSafe for AgentProfile
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