pub enum AgentRole {
Reader,
Writer,
Observer,
Admin,
}Expand description
Role assigned to an agent, determining its tool access level.
Variants§
Reader
Read-only access to resources.
Writer
Read and write access to resources.
Observer
Minimal read-only access (no search tools).
Admin
Unrestricted access to all tools.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentRole
impl<'de> Deserialize<'de> for AgentRole
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
impl Eq for AgentRole
impl StructuralPartialEq for AgentRole
Auto Trait Implementations§
impl Freeze for AgentRole
impl RefUnwindSafe for AgentRole
impl Send for AgentRole
impl Sync for AgentRole
impl Unpin for AgentRole
impl UnsafeUnpin for AgentRole
impl UnwindSafe for AgentRole
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