Enum readme_sync::ManifestReadmePath [−][src]
Expand description
The optional Manifest readme
field that allows string or boolean value.
If readme
field is not specified, and a file named README.md, README.txt or README
exists in the package root, then the name of that file will be used.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-readme-field for more details.
Variants
Path(PathBuf)
Tuple Fields
0: PathBuf
Readme path.
Bool(bool)
Tuple Fields
0: bool
If the field is set to true, a default value of README.md will be assumed. If the field is set to false, a readme file is defined as absent.
Trait Implementations
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 ManifestReadmePath
impl Send for ManifestReadmePath
impl Sync for ManifestReadmePath
impl Unpin for ManifestReadmePath
impl UnwindSafe for ManifestReadmePath
Blanket Implementations
Mutably borrows from an owned value. Read more