pub struct GraphBackendConfig {
pub backend: String,
pub data_dir: String,
pub max_db_size: u64,
pub batch_size: usize,
pub url: Option<String>,
}Expand description
Graph backend settings.
Fields§
§backend: StringBackend type: “helix” (default), “falkordb”, “custom”.
data_dir: StringData directory for embedded backends.
max_db_size: u64Maximum database size in bytes.
batch_size: usizeBatch size for bulk operations.
url: Option<String>External service URL (for falkordb, etc.).
Trait Implementations§
Source§impl Clone for GraphBackendConfig
impl Clone for GraphBackendConfig
Source§fn clone(&self) -> GraphBackendConfig
fn clone(&self) -> GraphBackendConfig
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 GraphBackendConfig
impl Debug for GraphBackendConfig
Source§impl Default for GraphBackendConfig
impl Default for GraphBackendConfig
Source§impl<'de> Deserialize<'de> for GraphBackendConfig
impl<'de> Deserialize<'de> for GraphBackendConfig
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 GraphBackendConfig
impl RefUnwindSafe for GraphBackendConfig
impl Send for GraphBackendConfig
impl Sync for GraphBackendConfig
impl Unpin for GraphBackendConfig
impl UnsafeUnpin for GraphBackendConfig
impl UnwindSafe for GraphBackendConfig
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