pub struct WebBaseLoader { /* private fields */ }Expand description
Loads content from a URL via HTTP GET.
Uses reqwest to fetch the URL content and returns a single Document
with the URL as id and the response text as content.
Metadata includes source (the URL) and content_type (from the response header).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebBaseLoader
impl RefUnwindSafe for WebBaseLoader
impl Send for WebBaseLoader
impl Sync for WebBaseLoader
impl Unpin for WebBaseLoader
impl UnsafeUnpin for WebBaseLoader
impl UnwindSafe for WebBaseLoader
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