pub struct WebFetchOutput {
pub content: String,
pub content_type: String,
pub byte_length: usize,
}Expand description
Result from URL fetch operation.
Fields§
§content: StringThe processed content (HTML converted to markdown, JSON prettified).
content_type: StringThe Content-Type header value.
byte_length: usizeOriginal byte length before processing.
Trait Implementations§
Source§impl Clone for WebFetchOutput
impl Clone for WebFetchOutput
Source§fn clone(&self) -> WebFetchOutput
fn clone(&self) -> WebFetchOutput
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 WebFetchOutput
impl Debug for WebFetchOutput
Source§impl From<WebFetchOutput> for ToolOutput
impl From<WebFetchOutput> for ToolOutput
Source§fn from(output: WebFetchOutput) -> ToolOutput
fn from(output: WebFetchOutput) -> ToolOutput
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WebFetchOutput
impl RefUnwindSafe for WebFetchOutput
impl Send for WebFetchOutput
impl Sync for WebFetchOutput
impl Unpin for WebFetchOutput
impl UnwindSafe for WebFetchOutput
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