Struct reproto_manifest::ManifestFile
[−]
[src]
pub struct ManifestFile { pub path: PathBuf, pub package: Option<RpPackage>, pub version: Option<Version>, }
Fields
path: PathBuf
package: Option<RpPackage>
version: Option<Version>
Methods
impl ManifestFile
[src]
pub fn from_path(path: &Path) -> ManifestFile
[src]
Trait Implementations
impl TryFromToml for ManifestFile
[src]
fn try_from_string(base: &Path, id: &str, value: String) -> Result<Self>
[src]
Convert from a string value.
fn try_from_value(base: &Path, id: &str, value: Value) -> Result<Self>
[src]
Convert from a TOML.
impl Debug for ManifestFile
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ManifestFile
[src]
fn clone(&self) -> ManifestFile
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more