Skip to main content

Source

Struct Source 

Source
pub struct Source {
Show 34 fields pub id: String, pub issn_l: Option<String>, pub issn: Option<Vec<String>>, pub display_name: Option<String>, pub abbreviated_title: Option<String>, pub alternate_titles: Option<Vec<String>>, pub host_organization: Option<String>, pub host_organization_name: Option<String>, pub host_organization_lineage: Option<Vec<Option<String>>>, pub works_count: Option<i64>, pub cited_by_count: Option<i64>, pub summary_stats: Option<SummaryStats>, pub is_oa: Option<bool>, pub is_in_doaj: Option<bool>, pub is_core: Option<bool>, pub is_high_oa_rate: Option<bool>, pub is_in_scielo: Option<bool>, pub is_ojs: Option<bool>, pub oa_flip_year: Option<i32>, pub first_publication_year: Option<i32>, pub last_publication_year: Option<i32>, pub ids: Option<SourceIds>, pub homepage_url: Option<String>, pub apc_prices: Option<Vec<ApcPrice>>, pub apc_usd: Option<i64>, pub country_code: Option<String>, pub societies: Option<Vec<Value>>, pub type: Option<String>, pub topics: Option<Vec<TopicWithScore>>, pub topic_share: Option<Vec<TopicShare>>, pub counts_by_year: Option<Vec<CountsByYear>>, pub works_api_url: Option<String>, pub updated_date: Option<String>, pub created_date: Option<String>,
}
Expand description

A publishing venue: journal, repository, conference, ebook platform, or book series.

Sources include ISSN identifiers, open-access status, APC pricing, host organization, and impact metrics.

§Example

{
  "id": "https://openalex.org/S137773608",
  "display_name": "Nature",
  "issn_l": "0028-0836",
  "type": "journal",
  "is_oa": false,
  "works_count": 450000,
  "cited_by_count": 25000000,
  "summary_stats": {"2yr_mean_citedness": 50.2, "h_index": 1200, ...}
}

§ID formats

Sources can be retrieved by OpenAlex ID (S...) or ISSN.

§Note

The host_organization_lineage array may contain null elements. This is a known API quirk — the field is typed as Option<Vec<Option<String>>>.

Fields§

§id: String

OpenAlex ID URI (e.g. "https://openalex.org/S137773608").

§issn_l: Option<String>

Linking ISSN (ISSN-L) that groups all ISSNs for this source.

§issn: Option<Vec<String>>

All ISSNs associated with this source.

§display_name: Option<String>

Human-readable source name (e.g. "Nature").

§abbreviated_title: Option<String>

Abbreviated title (e.g. "Nat.").

§alternate_titles: Option<Vec<String>>

Alternative titles or name variants.

§host_organization: Option<String>

OpenAlex ID of the host organization (publisher or platform).

§host_organization_name: Option<String>

Display name of the host organization.

§host_organization_lineage: Option<Vec<Option<String>>>

OpenAlex IDs of the host organization’s lineage (parent organizations). May contain null elements — this is a known API quirk.

§works_count: Option<i64>

Total number of works published in this source.

§cited_by_count: Option<i64>

Total number of citations received by works in this source.

§summary_stats: Option<SummaryStats>

Impact metrics: h-index, i10-index, and 2-year mean citedness.

§is_oa: Option<bool>

Whether this source is open-access.

§is_in_doaj: Option<bool>

Whether this source is indexed in the DOAJ (Directory of Open Access Journals).

§is_core: Option<bool>

Whether this source is indexed in CORE.

§is_high_oa_rate: Option<bool>

Whether this source has a high proportion of open-access works.

§is_in_scielo: Option<bool>

Whether this source is indexed in SciELO.

§is_ojs: Option<bool>

Whether this source uses Open Journal Systems.

§oa_flip_year: Option<i32>

Year the source flipped to open-access, if applicable.

§first_publication_year: Option<i32>

Year of the earliest publication in this source.

§last_publication_year: Option<i32>

Year of the most recent publication in this source.

§ids: Option<SourceIds>

External identifiers (OpenAlex, ISSN-L, ISSNs, MAG, Wikidata).

§homepage_url: Option<String>

URL of the source’s homepage.

§apc_prices: Option<Vec<ApcPrice>>

Article processing charge prices in various currencies.

§apc_usd: Option<i64>

APC amount in US dollars.

§country_code: Option<String>

ISO 3166-1 alpha-2 country code of the source’s country of origin.

§societies: Option<Vec<Value>>

Learned societies associated with this source (structure varies).

§type: Option<String>

Source type: "journal", "repository", "conference", "ebook platform", "book series", "metadata", or "other".

§topics: Option<Vec<TopicWithScore>>

Top research topics for this source, ranked by relevance or work count.

§topic_share: Option<Vec<TopicShare>>

Research topics as a share of this source’s total works.

§counts_by_year: Option<Vec<CountsByYear>>

Publication and citation counts broken down by year.

§works_api_url: Option<String>

API URL to retrieve this source’s works.

§updated_date: Option<String>

ISO 8601 timestamp of the last update to this record.

§created_date: Option<String>

ISO 8601 date when this record was first created.

Trait Implementations§

Source§

impl Clone for Source

Source§

fn clone(&self) -> Source

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Source

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Source

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Source, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<Source> for SourceSummary

Source§

fn from(s: Source) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Source

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,