pub struct CoreContext {
pub project_root: PathBuf,
pub project_id: String,
pub database_url: Option<String>,
pub falkordb: Option<FalkorConfig>,
pub qdrant: Option<QdrantConfig>,
pub embedding: Option<EmbeddingConfig>,
pub daemon_url: Option<String>,
}Expand description
Resolved runtime context for any gobby-core consumer.
Fields§
§project_root: PathBufProject root directory containing .gobby/.
project_id: StringProject ID from .gobby/project.json.
database_url: Option<String>PostgreSQL hub DSN resolved by the consumer.
falkordb: Option<FalkorConfig>FalkorDB config when available.
qdrant: Option<QdrantConfig>Qdrant config when available.
embedding: Option<EmbeddingConfig>Embedding API config when available.
daemon_url: Option<String>Gobby daemon base URL.
Implementations§
Source§impl CoreContext
impl CoreContext
Trait Implementations§
Source§impl Clone for CoreContext
impl Clone for CoreContext
Source§fn clone(&self) -> CoreContext
fn clone(&self) -> CoreContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CoreContext
impl Debug for CoreContext
Source§impl PartialEq for CoreContext
impl PartialEq for CoreContext
Source§fn eq(&self, other: &CoreContext) -> bool
fn eq(&self, other: &CoreContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CoreContext
impl StructuralPartialEq for CoreContext
Auto Trait Implementations§
impl Freeze for CoreContext
impl RefUnwindSafe for CoreContext
impl Send for CoreContext
impl Sync for CoreContext
impl Unpin for CoreContext
impl UnsafeUnpin for CoreContext
impl UnwindSafe for CoreContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.