pub struct SelectionEntry {
pub zotero_key: Option<String>,
pub openalex_id: Option<String>,
pub doi: Option<String>,
pub title: Option<String>,
pub authors: Option<Vec<String>>,
pub year: Option<u32>,
pub issn: Option<Vec<String>>,
pub isbn: Option<Vec<String>>,
}Expand description
A single paper in a selection. Stores as much metadata as resolved.
If zotero_key is None, the paper has not been matched to the local Zotero
library; metadata can be used later to prompt the user to download it.
Fields§
§zotero_key: Option<String>§openalex_id: Option<String>§doi: Option<String>§title: Option<String>§year: Option<u32>§issn: Option<Vec<String>>§isbn: Option<Vec<String>>Trait Implementations§
Source§impl Clone for SelectionEntry
impl Clone for SelectionEntry
Source§fn clone(&self) -> SelectionEntry
fn clone(&self) -> SelectionEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 SelectionEntry
impl Debug for SelectionEntry
Source§impl<'de> Deserialize<'de> for SelectionEntry
impl<'de> Deserialize<'de> for SelectionEntry
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
Auto Trait Implementations§
impl Freeze for SelectionEntry
impl RefUnwindSafe for SelectionEntry
impl Send for SelectionEntry
impl Sync for SelectionEntry
impl Unpin for SelectionEntry
impl UnsafeUnpin for SelectionEntry
impl UnwindSafe for SelectionEntry
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