pub struct ArticleLicense {
pub id: LicenseId,
pub name: String,
pub url: Option<Url>,
pub extra: BTreeMap<String, Value>,
}Expand description
License representation returned by Figshare.
Fields§
§id: LicenseIdLicense identifier.
name: StringLicense short name.
url: Option<Url>License documentation URL, when present.
extra: BTreeMap<String, Value>Additional untyped fields preserved for forward compatibility.
Trait Implementations§
Source§impl Clone for ArticleLicense
impl Clone for ArticleLicense
Source§fn clone(&self) -> ArticleLicense
fn clone(&self) -> ArticleLicense
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArticleLicense
impl Debug for ArticleLicense
Source§impl<'de> Deserialize<'de> for ArticleLicense
impl<'de> Deserialize<'de> for ArticleLicense
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 PartialEq for ArticleLicense
impl PartialEq for ArticleLicense
Source§impl Serialize for ArticleLicense
impl Serialize for ArticleLicense
impl Eq for ArticleLicense
impl StructuralPartialEq for ArticleLicense
Auto Trait Implementations§
impl Freeze for ArticleLicense
impl RefUnwindSafe for ArticleLicense
impl Send for ArticleLicense
impl Sync for ArticleLicense
impl Unpin for ArticleLicense
impl UnsafeUnpin for ArticleLicense
impl UnwindSafe for ArticleLicense
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