pub struct TraverseInput {
pub from: ID,
pub labels: Option<Vec<String>>,
pub max_depth: i32,
pub as_of: Option<String>,
}Expand description
Input for traversal queries
Fields§
§from: IDStarting node ID
labels: Option<Vec<String>>Edge labels to follow (empty means all)
max_depth: i32Maximum traversal depth
as_of: Option<String>Historical timestamp (optional)
Trait Implementations§
impl InputObjectType for TraverseInput
Source§impl InputType for TraverseInput
impl InputType for TraverseInput
Source§type RawValueType = TraverseInput
type RawValueType = TraverseInput
The raw type used for validator. Read more
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value. None represents undefined.Source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
Auto Trait Implementations§
impl Freeze for TraverseInput
impl RefUnwindSafe for TraverseInput
impl Send for TraverseInput
impl Sync for TraverseInput
impl Unpin for TraverseInput
impl UnsafeUnpin for TraverseInput
impl UnwindSafe for TraverseInput
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