pub struct SemanticSearchConfig {
pub tei_url: Option<String>,
pub blend_weight: f32,
}Fields§
§tei_url: Option<String>§blend_weight: f32Implementations§
Source§impl SemanticSearchConfig
impl SemanticSearchConfig
pub fn is_configured(&self) -> bool
Trait Implementations§
Source§impl Clone for SemanticSearchConfig
impl Clone for SemanticSearchConfig
Source§fn clone(&self) -> SemanticSearchConfig
fn clone(&self) -> SemanticSearchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticSearchConfig
impl Debug for SemanticSearchConfig
Source§impl Default for SemanticSearchConfig
impl Default for SemanticSearchConfig
Source§impl<'de> Deserialize<'de> for SemanticSearchConfig
impl<'de> Deserialize<'de> for SemanticSearchConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SemanticSearchConfig
impl PartialEq for SemanticSearchConfig
Source§fn eq(&self, other: &SemanticSearchConfig) -> bool
fn eq(&self, other: &SemanticSearchConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticSearchConfig
impl Serialize for SemanticSearchConfig
impl StructuralPartialEq for SemanticSearchConfig
Auto Trait Implementations§
impl Freeze for SemanticSearchConfig
impl RefUnwindSafe for SemanticSearchConfig
impl Send for SemanticSearchConfig
impl Sync for SemanticSearchConfig
impl Unpin for SemanticSearchConfig
impl UnsafeUnpin for SemanticSearchConfig
impl UnwindSafe for SemanticSearchConfig
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