pub struct DebtItem {
pub key: String,
pub category: String,
pub text: String,
pub path: Option<String>,
pub line: Option<u32>,
}Expand description
One intent-debt finding in a DebtReport.
Fields§
§key: StringNatural key of the marker node (marker:<path>#<line>).
category: StringCategory token (todo | fixme | hack | stub | deferred).
text: StringThe marker text (the trimmed source line).
path: Option<String>Repository-relative path of the source file, if any.
line: Option<u32>1-based line number, if recorded.
Trait Implementations§
impl StructuralPartialEq for DebtItem
Auto Trait Implementations§
impl Freeze for DebtItem
impl RefUnwindSafe for DebtItem
impl Send for DebtItem
impl Sync for DebtItem
impl Unpin for DebtItem
impl UnsafeUnpin for DebtItem
impl UnwindSafe for DebtItem
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