pub struct IndexerConfig {
pub project: ProjectConfig,
pub paths: PathsConfig,
pub meilisearch: MeilisearchConfig,
pub search: SearchConfig,
pub tests: TestsConfig,
pub sanitizer: SanitizerConfig,
}Fields§
§project: ProjectConfig§paths: PathsConfig§meilisearch: MeilisearchConfig§search: SearchConfig§tests: TestsConfig§sanitizer: SanitizerConfigImplementations§
Source§impl IndexerConfig
impl IndexerConfig
pub fn load(path: &Path) -> Result<Self>
pub fn to_toml_string(&self) -> Result<String>
pub fn effective_index_prefix(&self, repo: &Path) -> String
pub fn resolve_meili(&self) -> Result<MeiliConnection>
pub fn hash(&self) -> Result<String>
Trait Implementations§
Source§impl Clone for IndexerConfig
impl Clone for IndexerConfig
Source§fn clone(&self) -> IndexerConfig
fn clone(&self) -> IndexerConfig
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 IndexerConfig
impl Debug for IndexerConfig
Source§impl Default for IndexerConfig
impl Default for IndexerConfig
Source§impl<'de> Deserialize<'de> for IndexerConfig
impl<'de> Deserialize<'de> for IndexerConfig
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
Auto Trait Implementations§
impl Freeze for IndexerConfig
impl RefUnwindSafe for IndexerConfig
impl Send for IndexerConfig
impl Sync for IndexerConfig
impl Unpin for IndexerConfig
impl UnsafeUnpin for IndexerConfig
impl UnwindSafe for IndexerConfig
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