pub struct ApprovalsConfig {
pub enabled: bool,
pub gated_tools: Vec<String>,
pub blocked_tools: Vec<String>,
pub timeout_seconds: u64,
}Fields§
§enabled: bool§gated_tools: Vec<String>§blocked_tools: Vec<String>§timeout_seconds: u64Trait Implementations§
Source§impl Clone for ApprovalsConfig
impl Clone for ApprovalsConfig
Source§fn clone(&self) -> ApprovalsConfig
fn clone(&self) -> ApprovalsConfig
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 ApprovalsConfig
impl Debug for ApprovalsConfig
Source§impl Default for ApprovalsConfig
impl Default for ApprovalsConfig
Source§impl<'de> Deserialize<'de> for ApprovalsConfig
impl<'de> Deserialize<'de> for ApprovalsConfig
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 ApprovalsConfig
impl RefUnwindSafe for ApprovalsConfig
impl Send for ApprovalsConfig
impl Sync for ApprovalsConfig
impl Unpin for ApprovalsConfig
impl UnsafeUnpin for ApprovalsConfig
impl UnwindSafe for ApprovalsConfig
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