pub struct RelatedWork {
pub id: String,
pub cite: String,
pub doi: Option<String>,
pub kind: Option<String>,
pub what_changed: Option<String>,
pub why: Option<String>,
pub adopted: Option<String>,
pub claims_affected: Vec<ClaimId>,
}Expand description
One typed prior-work dependency, parsed from logic/related_work.md.
Fields§
§id: StringReference id (RW01).
cite: StringCitation text — the header content after the id.
doi: Option<String>DOI or arXiv id, when present.
kind: Option<String>Relationship kind (Type: value), raw — may combine (e.g.
baseline, extends).
what_changed: Option<String>Delta → What changed.
why: Option<String>Delta → Why.
adopted: Option<String>Adopted elements.
claims_affected: Vec<ClaimId>Claims this reference affects, from the inline C## list. A prose
none resolves to an empty list.
Trait Implementations§
Source§impl Clone for RelatedWork
impl Clone for RelatedWork
Source§fn clone(&self) -> RelatedWork
fn clone(&self) -> RelatedWork
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 RelatedWork
impl Debug for RelatedWork
Source§impl<'de> Deserialize<'de> for RelatedWork
impl<'de> Deserialize<'de> for RelatedWork
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 RelatedWork
impl PartialEq for RelatedWork
Source§impl Serialize for RelatedWork
impl Serialize for RelatedWork
impl StructuralPartialEq for RelatedWork
Auto Trait Implementations§
impl Freeze for RelatedWork
impl RefUnwindSafe for RelatedWork
impl Send for RelatedWork
impl Sync for RelatedWork
impl Unpin for RelatedWork
impl UnsafeUnpin for RelatedWork
impl UnwindSafe for RelatedWork
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