Struct db_dump::dependencies::Row
source · #[non_exhaustive]pub struct Row {
pub id: u32,
pub version_id: VersionId,
pub crate_id: CrateId,
pub req: VersionReq,
pub optional: bool,
pub default_features: bool,
pub features: Vec<String>,
pub target: String,
pub kind: DependencyKind,
pub explicit_name: Option<String>,
}Expand description
One row of dependencies.csv.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: u32PRIMARY KEY
version_id: VersionId§crate_id: CrateId§req: VersionReq§optional: bool§default_features: bool§features: Vec<String>§target: String§kind: DependencyKind§explicit_name: Option<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for Row
impl<'de> Deserialize<'de> for Row
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