pub struct ExternalArgs {
pub limit: usize,
pub from_year: Option<i32>,
pub to_year: Option<i32>,
pub oa_only: bool,
pub min_citations: Option<u64>,
pub min_fwci: Option<f64>,
pub min_percentile: Option<u8>,
pub author: Option<String>,
pub venue: Option<String>,
pub publisher: Option<String>,
pub sort: SortArg,
}Expand description
External-discovery flag bundle (everything except query / mode).
Bundled so the main.rs dispatch arm and run stay readable.
Fields§
§limit: usizeMax results; validated to 1..=200 (OpenAlex per-page ceiling) by
PaperSearchQuery::validate — an out-of-range value is rejected,
not silently clamped.
from_year: Option<i32>Inclusive lower publication-year bound.
to_year: Option<i32>Inclusive upper publication-year bound.
oa_only: boolRestrict to open-access works.
min_citations: Option<u64>Only works cited strictly more than this many times.
min_fwci: Option<f64>Minimum field-and-year-normalized impact (FWCI) floor (#290).
min_percentile: Option<u8>Minimum within-cohort citation percentile, 0–100 (#290).
Author name to filter by (resolved to an OpenAlex author ID).
venue: Option<String>Venue / journal name to filter by (resolved to an OpenAlex source ID).
publisher: Option<String>Publisher name to filter by (resolved to an OpenAlex publisher ID).
sort: SortArgResult ordering.
Trait Implementations§
Source§impl Clone for ExternalArgs
impl Clone for ExternalArgs
Source§fn clone(&self) -> ExternalArgs
fn clone(&self) -> ExternalArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more