Enum pyproject_toml::ReadMe[][src]

pub enum ReadMe {
    RelativePath(String),
    Table {
        file: Option<String>,
        text: Option<String>,
        content_type: Option<String>,
    },
}

The full description of the project (i.e. the README).

Variants

RelativePath(String)

Relative path to a text file containing the full description

Table

Detailed readme information

Show fields

Fields of Table

file: Option<String>

A relative path to a file containing the full description

text: Option<String>

Full description

content_type: Option<String>

The content-type of the full description

Trait Implementations

impl Clone for ReadMe[src]

impl Debug for ReadMe[src]

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

impl PartialEq<ReadMe> for ReadMe[src]

impl Serialize for ReadMe[src]

impl StructuralPartialEq for ReadMe[src]

Auto Trait Implementations

impl RefUnwindSafe for ReadMe

impl Send for ReadMe

impl Sync for ReadMe

impl Unpin for ReadMe

impl UnwindSafe for ReadMe

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.