pub struct DepEntry {
pub name: String,
pub req: String,
pub package: Option<String>,
pub kind: Option<DepKind>,
pub optional: bool,
pub default_features: bool,
pub features: Vec<String>,
pub target: Option<String>,
}Fields§
§name: String§req: String§package: Option<String>The renamed package name (if any)
kind: Option<DepKind>§optional: bool§default_features: bool§features: Vec<String>§target: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DepEntry
impl<'de> Deserialize<'de> for DepEntry
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 DepEntry
impl RefUnwindSafe for DepEntry
impl Send for DepEntry
impl Sync for DepEntry
impl Unpin for DepEntry
impl UnsafeUnpin for DepEntry
impl UnwindSafe for DepEntry
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