pub struct WebFetchInput {
pub url: String,
pub prompt: String,
}Expand description
Input for the WebFetch tool - fetches and processes web content.
Fields§
§url: StringThe URL to fetch content from
prompt: StringThe prompt to run on the fetched content
Trait Implementations§
Source§impl Clone for WebFetchInput
impl Clone for WebFetchInput
Source§fn clone(&self) -> WebFetchInput
fn clone(&self) -> WebFetchInput
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 WebFetchInput
impl Debug for WebFetchInput
Source§impl<'de> Deserialize<'de> for WebFetchInput
impl<'de> Deserialize<'de> for WebFetchInput
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 From<WebFetchInput> for ToolInput
impl From<WebFetchInput> for ToolInput
Source§fn from(input: WebFetchInput) -> Self
fn from(input: WebFetchInput) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebFetchInput
impl PartialEq for WebFetchInput
Source§impl Serialize for WebFetchInput
impl Serialize for WebFetchInput
impl StructuralPartialEq for WebFetchInput
Auto Trait Implementations§
impl Freeze for WebFetchInput
impl RefUnwindSafe for WebFetchInput
impl Send for WebFetchInput
impl Sync for WebFetchInput
impl Unpin for WebFetchInput
impl UnsafeUnpin for WebFetchInput
impl UnwindSafe for WebFetchInput
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