pub struct SubgraphPattern {
pub node_ids: Vec<Id>,
pub edge_ids: Vec<Id>,
}Expand description
Minimal subgraph pattern for exact structural overlap.
Fields§
§node_ids: Vec<Id>Node identifiers or normalized labels.
edge_ids: Vec<Id>Edge identifiers or normalized labels.
Trait Implementations§
Source§impl Clone for SubgraphPattern
impl Clone for SubgraphPattern
Source§fn clone(&self) -> SubgraphPattern
fn clone(&self) -> SubgraphPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubgraphPattern
impl Debug for SubgraphPattern
Source§impl Default for SubgraphPattern
impl Default for SubgraphPattern
Source§fn default() -> SubgraphPattern
fn default() -> SubgraphPattern
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubgraphPattern
impl<'de> Deserialize<'de> for SubgraphPattern
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 Hash for SubgraphPattern
impl Hash for SubgraphPattern
Source§impl Ord for SubgraphPattern
impl Ord for SubgraphPattern
Source§fn cmp(&self, other: &SubgraphPattern) -> Ordering
fn cmp(&self, other: &SubgraphPattern) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SubgraphPattern
impl PartialEq for SubgraphPattern
Source§fn eq(&self, other: &SubgraphPattern) -> bool
fn eq(&self, other: &SubgraphPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SubgraphPattern
impl PartialOrd for SubgraphPattern
Source§impl Serialize for SubgraphPattern
impl Serialize for SubgraphPattern
impl Eq for SubgraphPattern
impl StructuralPartialEq for SubgraphPattern
Auto Trait Implementations§
impl Freeze for SubgraphPattern
impl RefUnwindSafe for SubgraphPattern
impl Send for SubgraphPattern
impl Sync for SubgraphPattern
impl Unpin for SubgraphPattern
impl UnsafeUnpin for SubgraphPattern
impl UnwindSafe for SubgraphPattern
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