pub struct HubProjectionConfig {
pub context7: ResolvedContext7,
pub devin: ResolvedDevin,
}Expand description
Combined resolved configuration passed to inject_config_subtable for
both the context7 and Devin projections.
Fields§
§context7: ResolvedContext7§devin: ResolvedDevinImplementations§
Source§impl HubProjectionConfig
impl HubProjectionConfig
Sourcepub fn to_context7_toml(&self) -> Value
pub fn to_context7_toml(&self) -> Value
Convert the context7 configuration into a toml::Value::Table
suitable for passing to inject_config_subtable as the
tools.docs.context7_config preload.
Shape: { projectTitle = "...", description = "...", rules = ["...", ...] }
Sourcepub fn to_devin_toml(&self) -> Value
pub fn to_devin_toml(&self) -> Value
Convert the Devin configuration into a toml::Value::Table
suitable for passing to inject_config_subtable as the
tools.docs.devin_wiki_config preload.
Each repo_notes string is wrapped into a {content = "<str>"} inline
table to satisfy projections.lua:664-670 validate_note, which
requires type(note) == "table" with a note.content string field.
Passing plain strings produces a Lua runtime error at projection time.
Only repo_notes is emitted. Identity fields (project_name,
description) are not part of the DeepWiki schema
(https://docs.devin.ai/work-with-devin/deepwiki).
Shape: { repo_notes = [{content = "..."}, ...] }
Trait Implementations§
Source§impl Clone for HubProjectionConfig
impl Clone for HubProjectionConfig
Source§fn clone(&self) -> HubProjectionConfig
fn clone(&self) -> HubProjectionConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for HubProjectionConfig
impl RefUnwindSafe for HubProjectionConfig
impl Send for HubProjectionConfig
impl Sync for HubProjectionConfig
impl Unpin for HubProjectionConfig
impl UnsafeUnpin for HubProjectionConfig
impl UnwindSafe for HubProjectionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> MaybeSend for Twhere
T: Send,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.