pub struct HunkRecord {Show 18 fields
pub id: HunkId,
pub thread_id: ThreadId,
pub turn_id: TurnId,
pub path: String,
pub old_start: u32,
pub old_lines: u32,
pub new_start: u32,
pub new_lines: u32,
pub diff: Vec<HunkDiffLine>,
pub tool_call_id: String,
pub tool_name: String,
pub plan_review_id: Option<PlanReviewId>,
pub plan_step_id: Option<PlanStepId>,
pub timeline_event_id: Option<String>,
pub checkpoint_id: Option<String>,
pub rollback: HunkRollbackState,
pub reverse_patch: Option<String>,
pub created_at: OffsetDateTime,
}Fields§
§id: HunkId§thread_id: ThreadId§turn_id: TurnId§path: String§old_start: u32§old_lines: u32§new_start: u32§new_lines: u32§diff: Vec<HunkDiffLine>§tool_call_id: String§tool_name: String§plan_review_id: Option<PlanReviewId>§plan_step_id: Option<PlanStepId>§timeline_event_id: Option<String>§checkpoint_id: Option<String>§rollback: HunkRollbackState§reverse_patch: Option<String>§created_at: OffsetDateTimeTrait Implementations§
Source§impl Clone for HunkRecord
impl Clone for HunkRecord
Source§fn clone(&self) -> HunkRecord
fn clone(&self) -> HunkRecord
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 HunkRecord
impl Debug for HunkRecord
Source§impl<'de> Deserialize<'de> for HunkRecord
impl<'de> Deserialize<'de> for HunkRecord
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
impl Eq for HunkRecord
Source§impl PartialEq for HunkRecord
impl PartialEq for HunkRecord
Source§fn eq(&self, other: &HunkRecord) -> bool
fn eq(&self, other: &HunkRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HunkRecord
impl Serialize for HunkRecord
impl StructuralPartialEq for HunkRecord
Auto Trait Implementations§
impl Freeze for HunkRecord
impl RefUnwindSafe for HunkRecord
impl Send for HunkRecord
impl Sync for HunkRecord
impl Unpin for HunkRecord
impl UnsafeUnpin for HunkRecord
impl UnwindSafe for HunkRecord
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.