pub struct MetaData {
pub crate_name: String,
pub manifest_dir: String,
pub authors: Vec<String>,
pub description: String,
pub homepage: String,
pub pkg_name: String,
pub pkg_repo: String,
pub pkg_version: String,
pub pkg_version_major: String,
pub pkg_version_minor: String,
pub pkg_version_patch: String,
pub pkg_version_pre: String,
}
Expand description
Struct to store the cargo information gathered at compile time using the env!
macro.
Fields§
§crate_name: String
§manifest_dir: String
§description: String
§homepage: String
§pkg_name: String
§pkg_repo: String
§pkg_version: String
§pkg_version_major: String
§pkg_version_minor: String
§pkg_version_patch: String
§pkg_version_pre: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaData
impl RefUnwindSafe for MetaData
impl Send for MetaData
impl Sync for MetaData
impl Unpin for MetaData
impl UnwindSafe for MetaData
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