Struct depdive::code::CodeReport [−][src]
pub struct CodeReport { pub name: String, pub version: String, pub is_direct: bool, pub kind: DependencyKind, pub has_build_script: bool, pub loc_report: Option<LOCReport>, pub unsafe_report: Option<UnsafeReport>, pub dep_report: Option<DepReport>, pub exclusive_dep_report: Option<DepReport>, }
Fields
name: String
version: String
is_direct: bool
kind: DependencyKind
has_build_script: bool
loc_report: Option<LOCReport>
unsafe_report: Option<UnsafeReport>
dep_report: Option<DepReport>
exclusive_dep_report: Option<DepReport>
Trait Implementations
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 RefUnwindSafe for CodeReport
impl Send for CodeReport
impl Sync for CodeReport
impl Unpin for CodeReport
impl UnwindSafe for CodeReport
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
pub fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a Box
behind a trait object of this trait. Read more
pub fn self_address_mut(&mut self) -> *mut ()
pub fn self_address_mut(&mut self) -> *mut ()
Returns the address of self
. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
pub fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
pub fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a Box
behind a trait object of this trait. Read more
pub fn self_address_mut(&mut self) -> *mut ()
pub fn self_address_mut(&mut self) -> *mut ()
Returns the address of self
. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more