pub struct ResolvedLink {
pub target: ConceptId,
pub exists: bool,
pub text: String,
pub raw: String,
}Expand description
A cross-link from one concept to another, after resolution (§5.3).
Fields§
§target: ConceptIdThe concept the link points at.
exists: boolWhether the target concept exists in the bundle (a false is allowed —
broken links are not malformed).
text: StringThe link text.
raw: StringThe raw link target as written.
Trait Implementations§
Source§impl Clone for ResolvedLink
impl Clone for ResolvedLink
Source§fn clone(&self) -> ResolvedLink
fn clone(&self) -> ResolvedLink
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 ResolvedLink
impl Debug for ResolvedLink
impl Eq for ResolvedLink
Source§impl PartialEq for ResolvedLink
impl PartialEq for ResolvedLink
Source§fn eq(&self, other: &ResolvedLink) -> bool
fn eq(&self, other: &ResolvedLink) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedLink
Auto Trait Implementations§
impl Freeze for ResolvedLink
impl RefUnwindSafe for ResolvedLink
impl Send for ResolvedLink
impl Sync for ResolvedLink
impl Unpin for ResolvedLink
impl UnsafeUnpin for ResolvedLink
impl UnwindSafe for ResolvedLink
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