pub struct PathPattern {
pub start_vertex: VertexId,
pub edge_labels: Option<Vec<String>>,
pub direction: PathDirection,
pub min_length: Option<u32>,
pub max_length: Option<u32>,
}
Expand description
Path pattern for graph traversals
Fields§
§start_vertex: VertexId
§edge_labels: Option<Vec<String>>
§direction: PathDirection
§min_length: Option<u32>
§max_length: Option<u32>
Trait Implementations§
Source§impl Clone for PathPattern
impl Clone for PathPattern
Source§fn clone(&self) -> PathPattern
fn clone(&self) -> PathPattern
Returns a duplicate of the value. Read more
1.0.0 · 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 PathPattern
impl Debug for PathPattern
Source§impl<'de> Deserialize<'de> for PathPattern
impl<'de> Deserialize<'de> for PathPattern
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
Auto Trait Implementations§
impl Freeze for PathPattern
impl RefUnwindSafe for PathPattern
impl Send for PathPattern
impl Sync for PathPattern
impl Unpin for PathPattern
impl UnwindSafe for PathPattern
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