mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-05-25 09:03:59 +02:00
14 lines
269 B
Rust
14 lines
269 B
Rust
use std::ops::Deref;
|
|
use crate::database::raw_index::InnerRawIndex;
|
|
|
|
#[derive(Clone)]
|
|
pub struct CustomSettings(pub(crate) InnerRawIndex);
|
|
|
|
impl Deref for CustomSettings {
|
|
type Target = InnerRawIndex;
|
|
|
|
fn deref(&self) -> &Self::Target {
|
|
&self.0
|
|
}
|
|
}
|