pub struct TraverseRequest {
pub kind: Option<String>,
pub name: Option<String>,
pub from_ids: Vec<String>,
pub steps: Vec<TraverseStep>,
pub limit: usize,
pub trusted_only: bool,
}Fields§
§kind: Option<String>Entity kind of the start set (e.g. symbol).
name: Option<String>Name substring matched (LIKE) against the start kind.
from_ids: Vec<String>Explicit start entity ids (unioned with kind/name matches).
steps: Vec<TraverseStep>Ordered traversal steps applied to the frontier.
limit: usizeMax entities returned (default 100).
trusted_only: boolFilter edges/entities through TrustedGraphView (default true). False exposes the raw graph explicitly — never silently.
Trait Implementations§
Source§impl Clone for TraverseRequest
impl Clone for TraverseRequest
Source§impl Debug for TraverseRequest
impl Debug for TraverseRequest
Source§impl<'de> Deserialize<'de> for TraverseRequest
impl<'de> Deserialize<'de> for TraverseRequest
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 TraverseRequest
impl JsonSchema for TraverseRequest
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 TraverseRequest
impl RefUnwindSafe for TraverseRequest
impl Send for TraverseRequest
impl Sync for TraverseRequest
impl Unpin for TraverseRequest
impl UnsafeUnpin for TraverseRequest
impl UnwindSafe for TraverseRequest
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