pub struct ModifiedInputs {
pub tool_name: Option<String>,
pub input: Option<Value>,
}Expand description
Modified inputs that can be sent in hook response
Fields§
§tool_name: Option<String>Modified tool name (if applicable)
input: Option<Value>Modified tool input (if applicable)
Trait Implementations§
Source§impl Clone for ModifiedInputs
impl Clone for ModifiedInputs
Source§fn clone(&self) -> ModifiedInputs
fn clone(&self) -> ModifiedInputs
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 ModifiedInputs
impl Debug for ModifiedInputs
Source§impl<'de> Deserialize<'de> for ModifiedInputs
impl<'de> Deserialize<'de> for ModifiedInputs
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
Source§impl PartialEq for ModifiedInputs
impl PartialEq for ModifiedInputs
Source§impl Serialize for ModifiedInputs
impl Serialize for ModifiedInputs
impl StructuralPartialEq for ModifiedInputs
Auto Trait Implementations§
impl Freeze for ModifiedInputs
impl RefUnwindSafe for ModifiedInputs
impl Send for ModifiedInputs
impl Sync for ModifiedInputs
impl Unpin for ModifiedInputs
impl UnwindSafe for ModifiedInputs
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