pub struct ReviewComment {
pub id: String,
pub author: String,
pub body: String,
pub path: Option<String>,
pub line: Option<u32>,
pub is_resolved: bool,
pub url: String,
}Expand description
A single unresolved review comment. The reaction engine forwards these
verbatim to the agent when handling changes-requested.
Fields§
§id: String§body: String§path: Option<String>File path the comment is pinned to (if inline).
line: Option<u32>Line number inside path.
is_resolved: bool§url: StringTrait Implementations§
Source§impl Clone for ReviewComment
impl Clone for ReviewComment
Source§fn clone(&self) -> ReviewComment
fn clone(&self) -> ReviewComment
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 ReviewComment
impl Debug for ReviewComment
Source§impl<'de> Deserialize<'de> for ReviewComment
impl<'de> Deserialize<'de> for ReviewComment
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
Source§impl PartialEq for ReviewComment
impl PartialEq for ReviewComment
Source§impl Serialize for ReviewComment
impl Serialize for ReviewComment
impl Eq for ReviewComment
impl StructuralPartialEq for ReviewComment
Auto Trait Implementations§
impl Freeze for ReviewComment
impl RefUnwindSafe for ReviewComment
impl Send for ReviewComment
impl Sync for ReviewComment
impl Unpin for ReviewComment
impl UnsafeUnpin for ReviewComment
impl UnwindSafe for ReviewComment
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.