pub struct DependencyNodeMetadata {
pub path: String,
pub language: Language,
pub size: u64,
pub is_test: bool,
pub is_entrypoint: bool,
}
Expand description
Metadata for dependency graph nodes
Fields§
§path: String
File path
language: Language
Programming language
size: u64
File size
is_test: bool
Whether this is a test file
is_entrypoint: bool
Whether this is an entrypoint
Trait Implementations§
Source§impl Clone for DependencyNodeMetadata
impl Clone for DependencyNodeMetadata
Source§fn clone(&self) -> DependencyNodeMetadata
fn clone(&self) -> DependencyNodeMetadata
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 DependencyNodeMetadata
impl Debug for DependencyNodeMetadata
Source§impl<'de> Deserialize<'de> for DependencyNodeMetadata
impl<'de> Deserialize<'de> for DependencyNodeMetadata
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 DependencyNodeMetadata
impl RefUnwindSafe for DependencyNodeMetadata
impl Send for DependencyNodeMetadata
impl Sync for DependencyNodeMetadata
impl Unpin for DependencyNodeMetadata
impl UnwindSafe for DependencyNodeMetadata
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