pub struct JsonListParser<T> { /* private fields */ }Expand description
Extracts a list of items from a JSON array in the LLM response.
Implementations§
Source§impl<T> JsonListParser<T>
impl<T> JsonListParser<T>
Trait Implementations§
Source§impl<T> Default for JsonListParser<T>
impl<T> Default for JsonListParser<T>
Source§impl<T: DeserializeOwned + Send + Sync> OutputParser for JsonListParser<T>
impl<T: DeserializeOwned + Send + Sync> OutputParser for JsonListParser<T>
Auto Trait Implementations§
impl<T> Freeze for JsonListParser<T>
impl<T> RefUnwindSafe for JsonListParser<T>where
T: RefUnwindSafe,
impl<T> Send for JsonListParser<T>where
T: Send,
impl<T> Sync for JsonListParser<T>where
T: Sync,
impl<T> Unpin for JsonListParser<T>where
T: Unpin,
impl<T> UnsafeUnpin for JsonListParser<T>
impl<T> UnwindSafe for JsonListParser<T>where
T: UnwindSafe,
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