pub struct MockTextGenerator { /* private fields */ }Expand description
Deterministic test-only generator. Returns a configured response regardless of input. Useful for wiring HyDE / multi-query tests without a live provider.
Implementations§
Trait Implementations§
Source§impl Clone for MockTextGenerator
impl Clone for MockTextGenerator
Source§fn clone(&self) -> MockTextGenerator
fn clone(&self) -> MockTextGenerator
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 MockTextGenerator
impl Debug for MockTextGenerator
Source§impl Default for MockTextGenerator
impl Default for MockTextGenerator
Source§impl TextGenerator for MockTextGenerator
impl TextGenerator for MockTextGenerator
Auto Trait Implementations§
impl Freeze for MockTextGenerator
impl RefUnwindSafe for MockTextGenerator
impl Send for MockTextGenerator
impl Sync for MockTextGenerator
impl Unpin for MockTextGenerator
impl UnsafeUnpin for MockTextGenerator
impl UnwindSafe for MockTextGenerator
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