pub struct ReviewComment {
pub author: String,
pub authored_by_current_user: bool,
pub body: String,
}Expand description
One inline review comment emitted by a reviewer on a forge review thread.
Fields§
Forge author login or display name.
Whether the forge reports that the authenticated user authored this comment.
body: StringMarkdown body as authored on the forge.
Implementations§
Source§impl ReviewComment
impl ReviewComment
Sourcepub fn is_agentty_reply(&self) -> bool
pub fn is_agentty_reply(&self) -> bool
Returns whether this comment ends with an Agentty reply marker.
Trait Implementations§
Source§impl Clone for ReviewComment
impl Clone for ReviewComment
Source§impl Debug for ReviewComment
impl Debug for ReviewComment
impl Eq for ReviewComment
Source§impl PartialEq for ReviewComment
impl PartialEq for ReviewComment
impl StructuralPartialEq for ReviewComment
Auto Trait Implementations§
impl Forget for ReviewComment
impl Freeze for ReviewComment
impl Move 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.