pub struct PathEdge {
pub edge_id: EdgeId,
pub graphify_key: Option<ExternalId>,
pub source: ExternalId,
pub target: ExternalId,
pub traversal_direction: EdgeTraversalDirection,
pub label: Option<String>,
pub attributes: BTreeMap<String, Value>,
}Expand description
One edge in a found path.
Fields§
§edge_id: EdgeIdStable edge ID.
graphify_key: Option<ExternalId>Optional Graphify key.
source: ExternalIdStored source identity.
target: ExternalIdStored target identity.
traversal_direction: EdgeTraversalDirectionOrientation used along the path.
label: Option<String>Optional label.
attributes: BTreeMap<String, Value>Selected edge properties.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathEdge
impl<'de> Deserialize<'de> for PathEdge
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PathEdge, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PathEdge, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PathEdge
impl Serialize for PathEdge
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PathEdge
Auto Trait Implementations§
impl Freeze for PathEdge
impl RefUnwindSafe for PathEdge
impl Send for PathEdge
impl Sync for PathEdge
impl Unpin for PathEdge
impl UnsafeUnpin for PathEdge
impl UnwindSafe for PathEdge
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