#[non_exhaustive]pub struct MetadataAccess {
pub openalex: bool,
pub semantic_scholar: bool,
pub doaj: bool,
}Expand description
Which Tier 2 metadata sources are enabled this session. See docs/CAPABILITY.md.
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.openalex: boolPhase 4+; enabled by DOIGET_ENABLE_OPENALEX.
semantic_scholar: boolPhase 4+; enabled by DOIGET_ENABLE_S2.
doaj: boolPhase 4+; enabled by DOIGET_ENABLE_DOAJ.
Trait Implementations§
Source§impl Clone for MetadataAccess
impl Clone for MetadataAccess
Source§fn clone(&self) -> MetadataAccess
fn clone(&self) -> MetadataAccess
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 MetadataAccess
impl Debug for MetadataAccess
Source§impl Default for MetadataAccess
impl Default for MetadataAccess
Source§fn default() -> MetadataAccess
fn default() -> MetadataAccess
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetadataAccess
impl RefUnwindSafe for MetadataAccess
impl Send for MetadataAccess
impl Sync for MetadataAccess
impl Unpin for MetadataAccess
impl UnsafeUnpin for MetadataAccess
impl UnwindSafe for MetadataAccess
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