pub struct Manifest {
pub name: Option<String>,
pub version: Option<String>,
pub bins: Vec<String>,
pub repository: Option<String>,
pub binstall: Option<Option<String>>,
}Expand description
What one manifest declares, whatever its format.
Fields§
§name: Option<String>The package name.
version: Option<String>The declared version.
bins: Vec<String>The executables it installs.
repository: Option<String>The repository URL it names.
binstall: Option<Option<String>>[package.metadata.binstall]: None where absent, Some(None)
for a table with no pkg-url, Some(Some(url)) for its template.
Trait Implementations§
impl Eq for Manifest
impl StructuralPartialEq for Manifest
Auto Trait Implementations§
impl Freeze for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more