Struct DelegationBoundary
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§
§impl Clone for DelegationBoundary
impl Clone for DelegationBoundary
§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 more§impl Debug for DelegationBoundary
impl Debug for DelegationBoundary
§impl Default for DelegationBoundary
impl Default for DelegationBoundary
§fn default() -> DelegationBoundary
fn default() -> DelegationBoundary
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for DelegationBoundary
impl<'de> Deserialize<'de> for DelegationBoundary
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DelegationBoundary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DelegationBoundary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for DelegationBoundary
impl PartialEq for DelegationBoundary
§impl Serialize for DelegationBoundary
impl Serialize for DelegationBoundary
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§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