pub struct DependencyInfo {
pub name: String,
pub dependency_type: String,
pub version: Option<String>,
pub source: String,
}
Expand description
依赖信息
Fields§
§name: String
§dependency_type: String
§version: Option<String>
§source: String
Trait Implementations§
Source§impl Clone for DependencyInfo
impl Clone for DependencyInfo
Source§fn clone(&self) -> DependencyInfo
fn clone(&self) -> DependencyInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 DependencyInfo
impl Debug for DependencyInfo
Auto Trait Implementations§
impl Freeze for DependencyInfo
impl RefUnwindSafe for DependencyInfo
impl Send for DependencyInfo
impl Sync for DependencyInfo
impl Unpin for DependencyInfo
impl UnwindSafe for DependencyInfo
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