#[non_exhaustive]pub struct Looked {
pub result: LookupResult,
pub with_punctuation: bool,
pub disagreements: Vec<Disagreement>,
pub latest: Option<SourceRecord>,
pub abstract_text: Option<Option<Abstract>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.result: LookupResult§with_punctuation: boolFound only with the trailing punctuation kept.
disagreements: Vec<Disagreement>With full: where the record contradicts the DOI’s registry.
latest: Option<SourceRecord>With full: the latest version, if the work was superseded.
abstract_text: Option<Option<Abstract>>With abstracts, for works found: the abstract, if any provider
has one.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Looked
impl !UnwindSafe for Looked
impl Forget for Looked
impl Freeze for Looked
impl Move for Looked
impl Send for Looked
impl Sync for Looked
impl Unpin for Looked
impl UnsafeUnpin for Looked
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