pub struct PathStep {
pub node: NodeSummary,
pub relationship_to_next: Option<String>,
}Expand description
A step in a path.
Fields§
§node: NodeSummaryThe node at this step.
relationship_to_next: Option<String>Relationship to the next node (None for last node).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathStep
impl<'de> Deserialize<'de> for PathStep
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 PathStep
impl RefUnwindSafe for PathStep
impl Send for PathStep
impl Sync for PathStep
impl Unpin for PathStep
impl UnsafeUnpin for PathStep
impl UnwindSafe for PathStep
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