Struct cli::types::PackageInfo
source ·
[−]pub struct PackageInfo {
pub name: Option<String>,
pub version: Option<String>,
pub description: Option<String>,
pub license: Option<String>,
pub documentation: Option<String>,
pub homepage: Option<String>,
pub repository: Option<String>,
}
Expand description
Holds crate package information loaded from the Cargo.toml file package section.
Fields
name: Option<String>
name
version: Option<String>
version
description: Option<String>
description
license: Option<String>
license
documentation: Option<String>
documentation link
homepage: Option<String>
homepage link
repository: Option<String>
repository link
Implementations
Creates and returns a new instance.
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for PackageInfo
impl Send for PackageInfo
impl Sync for PackageInfo
impl Unpin for PackageInfo
impl UnwindSafe for PackageInfo
Blanket Implementations
Mutably borrows from an owned value. Read more