pub struct GovernConfig {
pub allow_tools: Option<Vec<String>>,
pub deny_tools: Option<Vec<String>>,
pub allow_images: Option<Vec<String>>,
pub allow_networks: Option<Vec<String>>,
}Fields§
§allow_tools: Option<Vec<String>>§deny_tools: Option<Vec<String>>§allow_images: Option<Vec<String>>§allow_networks: Option<Vec<String>>Trait Implementations§
Source§impl Clone for GovernConfig
impl Clone for GovernConfig
Source§fn clone(&self) -> GovernConfig
fn clone(&self) -> GovernConfig
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 GovernConfig
impl Debug for GovernConfig
Source§impl Default for GovernConfig
impl Default for GovernConfig
Source§fn default() -> GovernConfig
fn default() -> GovernConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GovernConfig
impl<'de> Deserialize<'de> for GovernConfig
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 GovernConfig
impl RefUnwindSafe for GovernConfig
impl Send for GovernConfig
impl Sync for GovernConfig
impl Unpin for GovernConfig
impl UnwindSafe for GovernConfig
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