pub struct Unresolved {
pub id: PubmedId,
pub entry_key: Option<String>,
pub reason: String,
pub code: ErrorCode,
}Expand description
A bibliography entry PubMed could not turn into a DOI.
Fields§
§id: PubmedIdThe id as the entry named it.
entry_key: Option<String>The citation key.
reason: StringWhy, for the user.
code: ErrorCodeThe code a surface reports it under: NOT_FOUND when PubMed has no
record, NOT_IMPLEMENTED when the record has no DOI, or the
transport error’s.
Trait Implementations§
Source§impl Clone for Unresolved
impl Clone for Unresolved
Source§fn clone(&self) -> Unresolved
fn clone(&self) -> Unresolved
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 moreAuto Trait Implementations§
impl Freeze for Unresolved
impl RefUnwindSafe for Unresolved
impl Send for Unresolved
impl Sync for Unresolved
impl Unpin for Unresolved
impl UnsafeUnpin for Unresolved
impl UnwindSafe for Unresolved
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