pub struct LetheConfigBuilder { /* private fields */ }Expand description
Builder for LetheConfig to make complex configurations easier
Implementations§
Source§impl LetheConfigBuilder
impl LetheConfigBuilder
pub fn version<S: Into<String>>(self, version: S) -> Self
pub fn description<S: Into<String>>(self, description: S) -> Self
pub fn retrieval(self, retrieval: RetrievalConfig) -> Self
pub fn chunking(self, chunking: ChunkingConfig) -> Self
pub fn features(self, features: FeaturesConfig) -> Self
pub fn build(self) -> Result<LetheConfig>
Trait Implementations§
Source§impl Debug for LetheConfigBuilder
impl Debug for LetheConfigBuilder
Source§impl Default for LetheConfigBuilder
impl Default for LetheConfigBuilder
Source§fn default() -> LetheConfigBuilder
fn default() -> LetheConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LetheConfigBuilder
impl RefUnwindSafe for LetheConfigBuilder
impl Send for LetheConfigBuilder
impl Sync for LetheConfigBuilder
impl Unpin for LetheConfigBuilder
impl UnwindSafe for LetheConfigBuilder
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