pub struct SimpleDependency {
pub name: String,
pub version: String,
pub is_dev: bool,
pub is_optional: bool,
}
Fields§
§name: String
§version: String
§is_dev: bool
§is_optional: bool
Trait Implementations§
Source§impl Clone for SimpleDependency
impl Clone for SimpleDependency
Source§fn clone(&self) -> SimpleDependency
fn clone(&self) -> SimpleDependency
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimpleDependency
impl Debug for SimpleDependency
Source§impl<'de> Deserialize<'de> for SimpleDependency
impl<'de> Deserialize<'de> for SimpleDependency
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
Source§impl Ord for SimpleDependency
impl Ord for SimpleDependency
Source§fn cmp(&self, other: &SimpleDependency) -> Ordering
fn cmp(&self, other: &SimpleDependency) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SimpleDependency
impl PartialEq for SimpleDependency
Source§impl PartialOrd for SimpleDependency
impl PartialOrd for SimpleDependency
Source§impl Serialize for SimpleDependency
impl Serialize for SimpleDependency
impl Eq for SimpleDependency
impl StructuralPartialEq for SimpleDependency
Auto Trait Implementations§
impl Freeze for SimpleDependency
impl RefUnwindSafe for SimpleDependency
impl Send for SimpleDependency
impl Sync for SimpleDependency
impl Unpin for SimpleDependency
impl UnwindSafe for SimpleDependency
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