pub struct License {
pub content_version: String,
pub delay_in_days: i32,
pub start: Option<PartialDate>,
pub url: String,
}Expand description
The types that appear in the public fields of a Work, re-exported so a
caller of Crossref::works can name them without reaching into
response::work.
The types that appear in the public fields of a Work, re-exported so a
caller of Crossref::works can name them without reaching into
response::work.
The types that appear in the public fields of a Work, re-exported so a
caller of Crossref::works can name them without reaching into
response::work.
how the Work is licensed
Fields§
§content_version: StringEither vor (version of record,) am (accepted manuscript) or unspecified
delay_in_days: i32Number of days between the publication date of the work and the start date of this license
start: Option<PartialDate>Date on which this license begins to take effect
A few members deposit a license with a url and delay but no start date.
url: StringLink to a web page describing this license
Trait Implementations§
Source§impl<'de> Deserialize<'de> for License
impl<'de> Deserialize<'de> for License
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>,
impl Eq for License
impl StructuralPartialEq for License
Auto Trait Implementations§
impl Freeze for License
impl RefUnwindSafe for License
impl Send for License
impl Sync for License
impl Unpin for License
impl UnsafeUnpin for License
impl UnwindSafe for License
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.