pub struct ToolSafety {
pub level: SafetyLevel,
pub dry_run: bool,
pub side_effects: Vec<String>,
pub data_sensitivity: Option<String>,
}Fields§
§level: SafetyLevel§dry_run: bool§side_effects: Vec<String>§data_sensitivity: Option<String>Trait Implementations§
Source§impl Clone for ToolSafety
impl Clone for ToolSafety
Source§fn clone(&self) -> ToolSafety
fn clone(&self) -> ToolSafety
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolSafety
impl Debug for ToolSafety
Source§impl<'de> Deserialize<'de> for ToolSafety
impl<'de> Deserialize<'de> for ToolSafety
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 ToolSafety
impl RefUnwindSafe for ToolSafety
impl Send for ToolSafety
impl Sync for ToolSafety
impl Unpin for ToolSafety
impl UnsafeUnpin for ToolSafety
impl UnwindSafe for ToolSafety
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