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>,
}

Package manifest [package] section.

See https://doc.rust-lang.org/cargo/reference/manifest.html#the-package-section for more details.

Fields

name: String

The package name that is used to locate main binary, add package title, disallow package docs links, use absolute package docs links.

version: String

The 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

impl Clone for ManifestPackage[src]

impl Debug for ManifestPackage[src]

impl Default for ManifestPackage[src]

impl<'de> Deserialize<'de> for ManifestPackage[src]

impl Eq for ManifestPackage[src]

impl PartialEq<ManifestPackage> for ManifestPackage[src]

impl StructuralEq for ManifestPackage[src]

impl StructuralPartialEq for ManifestPackage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.