Struct rustsec::report::DatabaseInfo
source · pub struct DatabaseInfo {
pub advisory_count: usize,
pub last_commit: Option<String>,
pub last_updated: Option<SystemTime>,
}Available on crate feature
git only.Expand description
Information about the advisory database
Fields§
§advisory_count: usizeNumber of advisories in the database
last_commit: Option<String>Git commit hash for the last commit to the database
last_updated: Option<SystemTime>Date when the advisory database was last committed to
Implementations§
Trait Implementations§
source§impl Clone for DatabaseInfo
impl Clone for DatabaseInfo
source§fn clone(&self) -> DatabaseInfo
fn clone(&self) -> DatabaseInfo
Returns a copy 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 DatabaseInfo
impl Debug for DatabaseInfo
source§impl<'de> Deserialize<'de> for DatabaseInfo
impl<'de> Deserialize<'de> for DatabaseInfo
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