Struct readme_sync::ManifestPackage [−][src]
pub struct ManifestPackage {
pub name: String,
pub version: String,
pub documentation: Option<String>,
pub readme: Option<ManifestReadmePath>,
pub repository: Option<String>,
}Expand description
Package manifest [package] section.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-package-section for more details.
Fields
name: StringThe package name that is used to locate main binary, add package title, disallow package docs links, use absolute package docs links.
version: StringThe package version that is not used by current library but defined as a required by Cargo.
documentation: Option<String>The documentation field specifies a URL to a website hosting the crate’s documentation.
readme: Option<ManifestReadmePath>The readme field specifies a path to a readme file in the package root (relative to this Cargo.toml).
repository: Option<String>The repository field specifies a URL to the source repository for the package.
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ManifestPackage
impl Send for ManifestPackage
impl Sync for ManifestPackage
impl Unpin for ManifestPackage
impl UnwindSafe for ManifestPackage
Blanket Implementations
Mutably borrows from an owned value. Read more
