pub struct OpenAlexId(/* private fields */);Expand description
OpenAlex work ID, canonically W2741809807. The W is optional when
explicitly prefixed (openalex:2741809807).
Implementations§
Trait Implementations§
Source§impl Clone for OpenAlexId
impl Clone for OpenAlexId
impl Copy for OpenAlexId
Source§impl Debug for OpenAlexId
impl Debug for OpenAlexId
Source§impl<'de> Deserialize<'de> for OpenAlexId
impl<'de> Deserialize<'de> for OpenAlexId
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OpenAlexId
impl Display for OpenAlexId
impl Eq for OpenAlexId
Source§impl From<OpenAlexId> for WorkId
impl From<OpenAlexId> for WorkId
Source§fn from(id: OpenAlexId) -> Self
fn from(id: OpenAlexId) -> Self
Converts to this type from the input type.
Source§impl FromStr for OpenAlexId
impl FromStr for OpenAlexId
Source§impl Hash for OpenAlexId
impl Hash for OpenAlexId
Source§impl Ord for OpenAlexId
impl Ord for OpenAlexId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OpenAlexId
impl PartialEq for OpenAlexId
Source§impl PartialOrd for OpenAlexId
impl PartialOrd for OpenAlexId
Source§impl Serialize for OpenAlexId
impl Serialize for OpenAlexId
impl StructuralPartialEq for OpenAlexId
Auto Trait Implementations§
impl Forget for OpenAlexId
impl Freeze for OpenAlexId
impl RefUnwindSafe for OpenAlexId
impl Send for OpenAlexId
impl Sync for OpenAlexId
impl Unpin for OpenAlexId
impl UnsafeUnpin for OpenAlexId
impl UnwindSafe for OpenAlexId
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