pub struct SetupContext<'a> {
pub falkor_config: Option<&'a FalkorConfig>,
pub qdrant_config: Option<&'a QdrantConfig>,
pub non_interactive: bool,
}Expand description
Context supplied to standalone setup creation callbacks.
PostgreSQL is feature-gated because postgres::Client::execute requires
&mut self for DDL and DML operations.
Fields§
§falkor_config: Option<&'a FalkorConfig>FalkorDB connection configuration, when configured.
qdrant_config: Option<&'a QdrantConfig>Qdrant connection configuration, when configured.
non_interactive: boolIf true, skip prompts and apply defaults.
Auto Trait Implementations§
impl<'a> Freeze for SetupContext<'a>
impl<'a> RefUnwindSafe for SetupContext<'a>
impl<'a> Send for SetupContext<'a>
impl<'a> Sync for SetupContext<'a>
impl<'a> Unpin for SetupContext<'a>
impl<'a> UnsafeUnpin for SetupContext<'a>
impl<'a> UnwindSafe for SetupContext<'a>
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