pub struct EdgeEvidence {
pub reason: String,
pub source: Option<String>,
pub span: Option<Span>,
}Fields§
§reason: StringHuman-readable reason, e.g. frontmatter, wikilink, or resolved reference.
source: Option<String>Source file that supports the assertion, when known.
span: Option<Span>Exact node/source span that supports the assertion, when known.
Trait Implementations§
Source§impl Clone for EdgeEvidence
impl Clone for EdgeEvidence
Source§fn clone(&self) -> EdgeEvidence
fn clone(&self) -> EdgeEvidence
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 EdgeEvidence
impl Debug for EdgeEvidence
Source§impl<'de> Deserialize<'de> for EdgeEvidence
impl<'de> Deserialize<'de> for EdgeEvidence
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
impl Eq for EdgeEvidence
Source§impl PartialEq for EdgeEvidence
impl PartialEq for EdgeEvidence
Source§fn eq(&self, other: &EdgeEvidence) -> bool
fn eq(&self, other: &EdgeEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EdgeEvidence
impl Serialize for EdgeEvidence
impl StructuralPartialEq for EdgeEvidence
Auto Trait Implementations§
impl Freeze for EdgeEvidence
impl RefUnwindSafe for EdgeEvidence
impl Send for EdgeEvidence
impl Sync for EdgeEvidence
impl Unpin for EdgeEvidence
impl UnsafeUnpin for EdgeEvidence
impl UnwindSafe for EdgeEvidence
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