pub struct DelegationBoundary {
pub authorized_actions: Vec<String>,
pub requires_approval: Vec<String>,
pub forbidden_actions: Vec<String>,
}Expand description
Delegation boundary – what the agent can/cannot decide.
Fields§
Actions the agent is authorized to take independently
requires_approval: Vec<String>Actions that require human approval before execution
forbidden_actions: Vec<String>Actions the agent must never take
Trait Implementations§
Source§impl Clone for DelegationBoundary
impl Clone for DelegationBoundary
Source§fn clone(&self) -> DelegationBoundary
fn clone(&self) -> DelegationBoundary
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 moreSource§impl ComposeSchema for DelegationBoundary
impl ComposeSchema for DelegationBoundary
Source§impl Debug for DelegationBoundary
impl Debug for DelegationBoundary
Source§impl Default for DelegationBoundary
impl Default for DelegationBoundary
Source§fn default() -> DelegationBoundary
fn default() -> DelegationBoundary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DelegationBoundary
impl<'de> Deserialize<'de> for DelegationBoundary
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 PartialEq for DelegationBoundary
impl PartialEq for DelegationBoundary
Source§impl Serialize for DelegationBoundary
impl Serialize for DelegationBoundary
Source§impl ToSchema for DelegationBoundary
impl ToSchema for DelegationBoundary
impl StructuralPartialEq for DelegationBoundary
Auto Trait Implementations§
impl Freeze for DelegationBoundary
impl RefUnwindSafe for DelegationBoundary
impl Send for DelegationBoundary
impl Sync for DelegationBoundary
impl Unpin for DelegationBoundary
impl UnwindSafe for DelegationBoundary
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