pub struct Manifest {
pub name: String,
pub version: String,
pub dependencies: Vec<(String, String)>,
}Expand description
a decl.toml (§8.6)
Fields§
§name: Stringthe package’s name
version: Stringits version, an exact semantic version
dependencies: Vec<(String, String)>declaration order, like the reference’s Map
Implementations§
Trait Implementations§
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