pub struct PkgMeta {
pub authors: Vec<Author>,
pub description: Option<String>,
pub documentation: Option<String>,
pub license: Option<String>,
pub repository: Option<String>,
}
Expand description
Package metadata
Contains things like the authors, license, link to documentation etc.
Fields§
Authors of the package
description: Option<String>
A description of the package
documentation: Option<String>
URL of the package documentation
license: Option<String>
License information
SPDX 2.3 license expression
repository: Option<String>
URL of the package source repository
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PkgMeta
impl<'de> Deserialize<'de> for PkgMeta
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 From<PkgMeta> for PkgMetaDto
impl From<PkgMeta> for PkgMetaDto
Source§impl From<PkgMetaDto> for PkgMeta
impl From<PkgMetaDto> for PkgMeta
Source§fn from(value: PkgMetaDto) -> Self
fn from(value: PkgMetaDto) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PkgMeta
impl RefUnwindSafe for PkgMeta
impl Send for PkgMeta
impl Sync for PkgMeta
impl Unpin for PkgMeta
impl UnwindSafe for PkgMeta
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