pub struct GcxDispatchParams {
pub action: String,
pub params: Value,
}Fields§
§action: StringWhich graph operation to run. One of: lookup_symbol, find_callers, find_callees, find_unused_symbols, get_subgraph, search_code, start_tour, wiki_symbol, trace_path, list_definitions, symbol_context, list_symbols_in_range.
params: ValueParameters for the chosen action as a JSON object (same fields as the individual tool: name, function_name, seed_name, query, file, branch, depth, limit, direction, src, dst, start_line, end_line).
Trait Implementations§
Source§impl Debug for GcxDispatchParams
impl Debug for GcxDispatchParams
Source§impl<'de> Deserialize<'de> for GcxDispatchParams
impl<'de> Deserialize<'de> for GcxDispatchParams
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 GcxDispatchParams
impl JsonSchema for GcxDispatchParams
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 moreAuto Trait Implementations§
impl Freeze for GcxDispatchParams
impl RefUnwindSafe for GcxDispatchParams
impl Send for GcxDispatchParams
impl Sync for GcxDispatchParams
impl Unpin for GcxDispatchParams
impl UnsafeUnpin for GcxDispatchParams
impl UnwindSafe for GcxDispatchParams
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