pub struct Description {
pub release_date: Date,
pub source_location: Option<SourceLocation>,
pub project_website: Option<String>,
pub urls: BTreeMap<String, String>,
pub hashes: Hashes,
pub files: u32,
pub tools: Vec<String>,
pub tool_score: Scores,
pub score: Scores,
}
Fields§
§release_date: Date
The Datetime when the component was actually released
source_location: Option<SourceLocation>
The location where the component was harvested from
project_website: Option<String>
The website associated with the component
urls: BTreeMap<String, String>
Urls associated with the component, eg crates.io components will have the crates.io url, the version specific crates.io url, and the crates.io download url
hashes: Hashes
Actually unsure how these hashes are calculated
files: u32
The total number of files that were scanned
tools: Vec<String>
The tools and curations that were used to harvest the component
tool_score: Scores
Scores for the component
score: Scores
Trait Implementations§
Source§impl Debug for Description
impl Debug for Description
Source§impl<'de> Deserialize<'de> for Description
impl<'de> Deserialize<'de> for Description
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
Auto Trait Implementations§
impl Freeze for Description
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
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