pub struct RoutingRequest {
pub host: HostKind,
pub root: PathBuf,
pub event: Value,
pub codegraph_enabled: bool,
pub ttl_seconds: u64,
}Expand description
Input to the host-independent prompt router.
Fields§
§host: HostKindHost whose documented output shape should be generated.
root: PathBufRepository root used only as a deduplication scope.
event: ValueRaw host event. Only the top-level prompt and session identifier are read.
codegraph_enabled: boolWhether guidance may recommend CodeGraph-backed local exploration.
ttl_seconds: u64Session/repository deduplication lifetime in seconds.
Trait Implementations§
Source§impl Clone for RoutingRequest
impl Clone for RoutingRequest
Source§fn clone(&self) -> RoutingRequest
fn clone(&self) -> RoutingRequest
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 RoutingRequest
impl Debug for RoutingRequest
Source§impl<'de> Deserialize<'de> for RoutingRequest
impl<'de> Deserialize<'de> for RoutingRequest
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
Source§impl JsonSchema for RoutingRequest
impl JsonSchema for RoutingRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RoutingRequest
impl PartialEq for RoutingRequest
Source§impl Serialize for RoutingRequest
impl Serialize for RoutingRequest
impl StructuralPartialEq for RoutingRequest
Auto Trait Implementations§
impl Freeze for RoutingRequest
impl RefUnwindSafe for RoutingRequest
impl Send for RoutingRequest
impl Sync for RoutingRequest
impl Unpin for RoutingRequest
impl UnsafeUnpin for RoutingRequest
impl UnwindSafe for RoutingRequest
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