pub struct SourceRecord {Show 14 fields
pub id: String,
pub source_type: String,
pub locator: String,
pub content_hash: Option<String>,
pub title: String,
pub authors: Vec<String>,
pub year: Option<i32>,
pub doi: Option<String>,
pub pmid: Option<String>,
pub imported_at: String,
pub extraction_mode: String,
pub source_quality: String,
pub caveats: Vec<String>,
pub finding_ids: Vec<String>,
}Fields§
§id: String§source_type: String§locator: String§content_hash: Option<String>§title: String§year: Option<i32>§doi: Option<String>§pmid: Option<String>§imported_at: String§extraction_mode: String§source_quality: String§caveats: Vec<String>§finding_ids: Vec<String>Trait Implementations§
Source§impl Clone for SourceRecord
impl Clone for SourceRecord
Source§fn clone(&self) -> SourceRecord
fn clone(&self) -> SourceRecord
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 SourceRecord
impl Debug for SourceRecord
Source§impl<'de> Deserialize<'de> for SourceRecord
impl<'de> Deserialize<'de> for SourceRecord
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 SourceRecord
impl PartialEq for SourceRecord
Source§fn eq(&self, other: &SourceRecord) -> bool
fn eq(&self, other: &SourceRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourceRecord
impl Serialize for SourceRecord
impl Eq for SourceRecord
impl StructuralPartialEq for SourceRecord
Auto Trait Implementations§
impl Freeze for SourceRecord
impl RefUnwindSafe for SourceRecord
impl Send for SourceRecord
impl Sync for SourceRecord
impl Unpin for SourceRecord
impl UnsafeUnpin for SourceRecord
impl UnwindSafe for SourceRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.