pub struct ReviewComment {
pub id: String,
pub author: String,
pub body: String,
pub path: Option<String>,
pub line: Option<u32>,
pub resolved: bool,
pub created: u64,
pub excerpt: Option<String>,
}Expand description
A comment of a pull request, on one of its lines or not.
Fields§
§id: String§body: String§path: Option<String>§line: Option<u32>§resolved: bool§created: u64When it was written (seconds since 1970); 0 when the host does not say.
excerpt: Option<String>The lines of the diff it was written on, as the host keeps them (GitHub’s and Gitea’s
diff_hunk); none when the host does not say.
Trait Implementations§
Source§impl Clone for ReviewComment
impl Clone for ReviewComment
Source§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 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