pub struct Doi(pub String);Expand description
DOI string wrapper used by public article selectors and response payloads.
Tuple Fields§
§0: StringRaw DOI value.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Doi
impl<'de> Deserialize<'de> for Doi
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 Ord for Doi
impl Ord for Doi
Source§impl PartialOrd for Doi
impl PartialOrd for Doi
impl Eq for Doi
impl StructuralPartialEq for Doi
Auto Trait Implementations§
impl Freeze for Doi
impl RefUnwindSafe for Doi
impl Send for Doi
impl Sync for Doi
impl Unpin for Doi
impl UnsafeUnpin for Doi
impl UnwindSafe for Doi
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.