pub struct Note {
pub pull: i64,
pub path: String,
pub line: Option<i64>,
pub author: String,
pub body: String,
pub url: String,
pub at: String,
pub state: String,
pub human: bool,
pub missed: bool,
}Expand description
A review comment, as Store::record_notes keeps it.
Fields§
§pull: i64§path: String§line: Option<i64>§body: String§url: StringThe comment’s URL: a note is recorded once, its state updated.
at: StringISO time the comment was made.
state: Stringaddressed (resolved), outdated (a later commit changed its lines, unresolved) or open.
human: boolWritten by a person: not a bot, not a reviewing account. Only a person’s addressed comment is a rule.
missed: boolThis reviewer reviewed the pull request and raised nothing at the comment’s place: a miss to learn from.
Trait Implementations§
impl Eq for Note
impl StructuralPartialEq for Note
Auto Trait Implementations§
impl Forget for Note
impl Freeze for Note
impl Move for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.