pub struct FileOwnership {
pub author_id: u32,
pub counts: AuthorLineCounts,
}Expand description
One author’s ownership of a single file. author_id indexes into AnalysisRun::authors.
Fields§
§counts: AuthorLineCountsTrait Implementations§
Source§impl Clone for FileOwnership
impl Clone for FileOwnership
Source§fn clone(&self) -> FileOwnership
fn clone(&self) -> FileOwnership
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileOwnership
impl Debug for FileOwnership
Source§impl<'de> Deserialize<'de> for FileOwnership
impl<'de> Deserialize<'de> for FileOwnership
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 FileOwnership
impl RefUnwindSafe for FileOwnership
impl Send for FileOwnership
impl Sync for FileOwnership
impl Unpin for FileOwnership
impl UnsafeUnpin for FileOwnership
impl UnwindSafe for FileOwnership
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