pub struct AgentPolicy {
pub sandbox_mode: Option<String>,
pub network_access: Option<String>,
pub approval_policy: Option<String>,
}Expand description
Agent control policy and constraints
Fields§
§sandbox_mode: Option<String>§network_access: Option<String>§approval_policy: Option<String>Trait Implementations§
Source§impl Clone for AgentPolicy
impl Clone for AgentPolicy
Source§fn clone(&self) -> AgentPolicy
fn clone(&self) -> AgentPolicy
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 Debug for AgentPolicy
impl Debug for AgentPolicy
Source§impl Default for AgentPolicy
impl Default for AgentPolicy
Source§fn default() -> AgentPolicy
fn default() -> AgentPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentPolicy
impl<'de> Deserialize<'de> for AgentPolicy
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 AgentPolicy
impl RefUnwindSafe for AgentPolicy
impl Send for AgentPolicy
impl Sync for AgentPolicy
impl Unpin for AgentPolicy
impl UnwindSafe for AgentPolicy
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