pub struct GetSubgraphParams {
pub seed_name: String,
pub depth: Option<u8>,
pub direction: Option<String>,
pub limit: Option<usize>,
pub branch: Option<String>,
}Fields§
§seed_name: StringSeed symbol name (unqualified).
depth: Option<u8>How many hops to expand from the seed (1–5, default 1). Depth 2+ on a high-degree hub returns a large subgraph — raise deliberately.
direction: Option<String>Direction: “in” (callers/ancestors), “out” (callees/descendants), “both” (default).
limit: Option<usize>Max nodes returned (default 30, capped at 200). Edges are filtered to the
kept node set; truncated flags when the neighbourhood was larger.
branch: Option<String>Trait Implementations§
Source§impl Debug for GetSubgraphParams
impl Debug for GetSubgraphParams
Source§impl<'de> Deserialize<'de> for GetSubgraphParams
impl<'de> Deserialize<'de> for GetSubgraphParams
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 GetSubgraphParams
impl JsonSchema for GetSubgraphParams
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 GetSubgraphParams
impl RefUnwindSafe for GetSubgraphParams
impl Send for GetSubgraphParams
impl Sync for GetSubgraphParams
impl Unpin for GetSubgraphParams
impl UnsafeUnpin for GetSubgraphParams
impl UnwindSafe for GetSubgraphParams
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