pub struct UncertainReference {
pub path: Option<String>,
pub file: Option<String>,
pub line: Option<u32>,
pub subject: Option<TypedSubject>,
pub kind: Option<UncertaintyCode>,
pub reason: Option<UncertaintyCode>,
pub excerpt: Option<String>,
pub extensions: BTreeMap<String, Value>,
}Expand description
One explicitly unproven or uncovered reference.
Fields§
§path: Option<String>§file: Option<String>§line: Option<u32>§subject: Option<TypedSubject>§kind: Option<UncertaintyCode>§reason: Option<UncertaintyCode>§excerpt: Option<String>§extensions: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for UncertainReference
impl Clone for UncertainReference
Source§fn clone(&self) -> UncertainReference
fn clone(&self) -> UncertainReference
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 UncertainReference
impl Debug for UncertainReference
Source§impl Default for UncertainReference
impl Default for UncertainReference
Source§fn default() -> UncertainReference
fn default() -> UncertainReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UncertainReference
impl<'de> Deserialize<'de> for UncertainReference
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
Source§impl PartialEq for UncertainReference
impl PartialEq for UncertainReference
Source§impl Serialize for UncertainReference
impl Serialize for UncertainReference
impl StructuralPartialEq for UncertainReference
Auto Trait Implementations§
impl Freeze for UncertainReference
impl RefUnwindSafe for UncertainReference
impl Send for UncertainReference
impl Sync for UncertainReference
impl Unpin for UncertainReference
impl UnsafeUnpin for UncertainReference
impl UnwindSafe for UncertainReference
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