Struct crates_io::NewCrateDependency
source · [−]pub struct NewCrateDependency {
pub optional: bool,
pub default_features: bool,
pub name: String,
pub features: Vec<String>,
pub version_req: String,
pub target: Option<String>,
pub kind: String,
pub registry: Option<String>,
pub explicit_name_in_toml: Option<String>,
}
Fields
optional: bool
default_features: bool
name: String
features: Vec<String>
version_req: String
target: Option<String>
kind: String
registry: Option<String>
explicit_name_in_toml: Option<String>
Trait Implementations
sourceimpl Serialize for NewCrateDependency
impl Serialize for NewCrateDependency
Auto Trait Implementations
impl RefUnwindSafe for NewCrateDependency
impl Send for NewCrateDependency
impl Sync for NewCrateDependency
impl Unpin for NewCrateDependency
impl UnwindSafe for NewCrateDependency
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more