pub struct ProjectFile {
pub path: String,
pub role: String,
pub language: Option<String>,
pub bytes: u64,
}Expand description
File inventory entry.
Fields§
§path: StringRelative path.
role: StringRole: source | test | config | resource | other
language: Option<String>Language id if source.
bytes: u64Byte size.
Trait Implementations§
Source§impl Clone for ProjectFile
impl Clone for ProjectFile
Source§impl Debug for ProjectFile
impl Debug for ProjectFile
Source§impl<'de> Deserialize<'de> for ProjectFile
impl<'de> Deserialize<'de> for ProjectFile
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 ProjectFile
impl RefUnwindSafe for ProjectFile
impl Send for ProjectFile
impl Sync for ProjectFile
impl Unpin for ProjectFile
impl UnsafeUnpin for ProjectFile
impl UnwindSafe for ProjectFile
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