Struct cargo_auto_lib::CargoToml
source · pub struct CargoToml { /* private fields */ }
Expand description
Read data from Cargo.toml Read data from Cargo.toml
Trait Implementations§
source§impl CargoTomlPublicApiMethods for CargoToml
impl CargoTomlPublicApiMethods for CargoToml
source§fn package_name(&self) -> String
fn package_name(&self) -> String
Cargo.toml package name
source§fn package_version(&self) -> String
fn package_version(&self) -> String
Cargo.toml package version
Cargo.toml package authors as string
Cargo.toml package authors as string without emails
source§fn package_repository(&self) -> Option<String>
fn package_repository(&self) -> Option<String>
Cargo.toml package repository
source§fn package_description(&self) -> Option<String>
fn package_description(&self) -> Option<String>
Cargo.toml package repository
source§fn package_homepage(&self) -> String
fn package_homepage(&self) -> String
Cargo.toml package homepage
source§fn github_owner(&self) -> Option<String>
fn github_owner(&self) -> Option<String>
GitHub owner from package_repository
source§fn package_keywords(&self) -> Vec<String>
fn package_keywords(&self) -> Vec<String>
Cargo.toml package keywords
Auto Trait Implementations§
impl Freeze for CargoToml
impl RefUnwindSafe for CargoToml
impl Send for CargoToml
impl Sync for CargoToml
impl Unpin for CargoToml
impl UnwindSafe for CargoToml
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