pub struct ValidationContext<'a> {
pub falkor_config: Option<&'a FalkorConfig>,
pub qdrant_config: Option<&'a QdrantConfig>,
}Expand description
Context supplied to validation callbacks.
Contains nullable mutable connections to each datastore. Consumers use
whichever connection their validator needs; None represents diagnostic or
explicitly degraded paths where a handle was not supplied. PostgreSQL is
feature-gated because postgres::Client::query requires &mut self.
Fields§
§falkor_config: Option<&'a FalkorConfig>FalkorDB connection configuration, when configured.
qdrant_config: Option<&'a QdrantConfig>Qdrant connection configuration, when configured.
Auto Trait Implementations§
impl<'a> Freeze for ValidationContext<'a>
impl<'a> RefUnwindSafe for ValidationContext<'a>
impl<'a> Send for ValidationContext<'a>
impl<'a> Sync for ValidationContext<'a>
impl<'a> Unpin for ValidationContext<'a>
impl<'a> UnsafeUnpin for ValidationContext<'a>
impl<'a> UnwindSafe for ValidationContext<'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