pub struct Paper {Show 17 fields
pub id: PaperId,
pub title: String,
pub authors: Vec<String>,
pub abstract: String,
pub full_text: Option<String>,
pub summary: Option<String>,
pub doi: Option<String>,
pub arxiv_id: Option<String>,
pub pubmed_id: Option<String>,
pub inspire_id: Option<String>,
pub openalex_id: Option<String>,
pub year: Option<i32>,
pub journal: Option<String>,
pub url: Option<String>,
pub source_urls: HashMap<String, String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Canonical, deduplicated paper record.
A paper exists once regardless of how many searches found it.
Fields§
§id: PaperId§title: String§abstract: String§full_text: Option<String>§summary: Option<String>§doi: Option<String>§arxiv_id: Option<String>§pubmed_id: Option<String>§inspire_id: Option<String>§openalex_id: Option<String>§year: Option<i32>§journal: Option<String>§url: Option<String>§source_urls: HashMap<String, String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Paper
impl<'de> Deserialize<'de> for Paper
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 StructuralPartialEq for Paper
Auto Trait Implementations§
impl Freeze for Paper
impl RefUnwindSafe for Paper
impl Send for Paper
impl Sync for Paper
impl Unpin for Paper
impl UnsafeUnpin for Paper
impl UnwindSafe for Paper
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