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>,
pub artifact: Option<Vec<String>>,
pub bindep_target: Option<String>,
pub lib: bool,
}
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>
§artifact: Option<Vec<String>>
§bindep_target: Option<String>
§lib: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewCrateDependency
impl<'de> Deserialize<'de> for NewCrateDependency
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NewCrateDependency
impl RefUnwindSafe for NewCrateDependency
impl Send for NewCrateDependency
impl Sync for NewCrateDependency
impl Unpin for NewCrateDependency
impl UnwindSafe for NewCrateDependency
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