pub struct HallucinationOptions {
pub weights: ScoreWeights,
pub use_ner: bool,
}
Fields§
§weights: ScoreWeights
§use_ner: bool
Trait Implementations§
Source§impl Clone for HallucinationOptions
impl Clone for HallucinationOptions
Source§fn clone(&self) -> HallucinationOptions
fn clone(&self) -> HallucinationOptions
Returns a copy 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 HallucinationOptions
impl Debug for HallucinationOptions
Auto Trait Implementations§
impl Freeze for HallucinationOptions
impl RefUnwindSafe for HallucinationOptions
impl Send for HallucinationOptions
impl Sync for HallucinationOptions
impl Unpin for HallucinationOptions
impl UnwindSafe for HallucinationOptions
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