pub struct Comment {
pub commenter: String,
pub text: String,
pub created_at: DateTime<Utc>,
pub reasoning: Option<ReviewReasoning>,
}Expand description
A single comment in a thread.
Fields§
§commenter: StringWho wrote the comment (human reviewer, agent, etc.).
text: StringComment text (markdown supported).
created_at: DateTime<Utc>When the comment was created.
reasoning: Option<ReviewReasoning>Structured reasoning for this review decision (v0.3.3). Reviewer can explain why they approved/rejected, not just leave text.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Comment
impl<'de> Deserialize<'de> for Comment
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
Auto Trait Implementations§
impl Freeze for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnsafeUnpin for Comment
impl UnwindSafe for Comment
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