#[non_exhaustive]pub struct SemanticSimilarityMetricBuilder<E> { /* private fields */ }Available on crate feature
experimental only.Expand description
A builder struct for SemanticSimilarityMetric.
Implementations§
Source§impl<E> SemanticSimilarityMetricBuilder<E>where
E: EmbeddingModel,
impl<E> SemanticSimilarityMetricBuilder<E>where
E: EmbeddingModel,
Trait Implementations§
Source§impl<E: Clone> Clone for SemanticSimilarityMetricBuilder<E>
impl<E: Clone> Clone for SemanticSimilarityMetricBuilder<E>
Source§fn clone(&self) -> SemanticSimilarityMetricBuilder<E>
fn clone(&self) -> SemanticSimilarityMetricBuilder<E>
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 moreAuto Trait Implementations§
impl<E> Freeze for SemanticSimilarityMetricBuilder<E>where
E: Freeze,
impl<E> RefUnwindSafe for SemanticSimilarityMetricBuilder<E>where
E: RefUnwindSafe,
impl<E> Send for SemanticSimilarityMetricBuilder<E>where
E: Send,
impl<E> Sync for SemanticSimilarityMetricBuilder<E>where
E: Sync,
impl<E> Unpin for SemanticSimilarityMetricBuilder<E>where
E: Unpin,
impl<E> UnwindSafe for SemanticSimilarityMetricBuilder<E>where
E: 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
Source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CloneableStorage for T
impl<T> CloneableStorage for T
fn clone_storage(&self) -> Box<dyn CloneableStorage>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more