pub struct RawEdge {
pub target_path: String,
pub relation: String,
pub confidence: Confidence,
pub location: String,
}Expand description
An edge before target resolution (produced by the parser).
Fields§
§target_path: StringRaw target path or id from the document.
relation: String§confidence: Confidence§location: StringSource location, e.g. “L42” or “frontmatter:supersedes”.
Trait Implementations§
Source§impl From<&RawEdge> for CachedRawEdge
impl From<&RawEdge> for CachedRawEdge
Source§impl From<CachedRawEdge> for RawEdge
impl From<CachedRawEdge> for RawEdge
Source§fn from(e: CachedRawEdge) -> Self
fn from(e: CachedRawEdge) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawEdge
impl RefUnwindSafe for RawEdge
impl Send for RawEdge
impl Sync for RawEdge
impl Unpin for RawEdge
impl UnsafeUnpin for RawEdge
impl UnwindSafe for RawEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more