pub struct DetailedDep {
pub version: Option<String>,
pub path: Option<String>,
pub registry: Option<String>,
pub features: Vec<String>,
}Expand description
A detailed dependency specification (inline table form).
Fields§
§version: Option<String>Version requirement.
path: Option<String>Path to a local dependency.
registry: Option<String>Registry URL.
features: Vec<String>Optional features to enable.
Trait Implementations§
Source§impl Clone for DetailedDep
impl Clone for DetailedDep
Source§fn clone(&self) -> DetailedDep
fn clone(&self) -> DetailedDep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DetailedDep
impl Debug for DetailedDep
Source§impl<'de> Deserialize<'de> for DetailedDep
impl<'de> Deserialize<'de> for DetailedDep
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 DetailedDep
impl RefUnwindSafe for DetailedDep
impl Send for DetailedDep
impl Sync for DetailedDep
impl Unpin for DetailedDep
impl UnsafeUnpin for DetailedDep
impl UnwindSafe for DetailedDep
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