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§fn clone(&self) -> ReviewComment
fn clone(&self) -> ReviewComment
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 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 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