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: boolTrait 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 Forget for NewCrateDependency
impl Freeze for NewCrateDependency
impl Move for NewCrateDependency
impl RefUnwindSafe for NewCrateDependency
impl Send for NewCrateDependencywhere
RawVecInner: Send,
impl Sync for NewCrateDependencywhere
RawVecInner: Sync,
impl Unpin for NewCrateDependency
impl UnsafeUnpin for NewCrateDependencywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for NewCrateDependencywhere
RawVecInner: UnwindSafe,
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 224 bytes