pub struct ReviewComment {
pub author: String,
pub body: String,
}Expand description
One inline review comment emitted by a reviewer on a forge review thread.
Fields§
Reviewer login or display name.
body: StringMarkdown body as authored by the reviewer.
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
Source§impl PartialEq for ReviewComment
impl PartialEq for ReviewComment
Source§fn eq(&self, other: &ReviewComment) -> bool
fn eq(&self, other: &ReviewComment) -> bool
Tests for
self and other values to be equal, and is used by ==.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