pub struct CorrectionChunk {
pub chunk_index: usize,
pub chunk_count: usize,
pub audio_start_ms: u64,
pub audio_end_ms: u64,
pub raw_gemini_response: String,
pub parsed: ParsedChunk,
pub observations: Vec<CorrectionObservation>,
pub clean: bool,
}Expand description
One complete chunk in a recording-level correction packet.
Fields§
§chunk_index: usizeZero-based chronological chunk index.
chunk_count: usizeTotal recording chunk count.
audio_start_ms: u64Source-audio start in milliseconds.
audio_end_ms: u64Source-audio end in milliseconds.
raw_gemini_response: StringComplete raw Gemini response without normalization.
parsed: ParsedChunkValidated GPT-parsed structure.
observations: Vec<CorrectionObservation>Read-only classifier mappings for every parsed speaker.
clean: boolWhether validity, confidence, and one-to-one identity checks all passed.
Trait Implementations§
Source§impl Clone for CorrectionChunk
impl Clone for CorrectionChunk
Source§fn clone(&self) -> CorrectionChunk
fn clone(&self) -> CorrectionChunk
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 CorrectionChunk
impl Debug for CorrectionChunk
Source§impl<'de> Deserialize<'de> for CorrectionChunk
impl<'de> Deserialize<'de> for CorrectionChunk
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 CorrectionChunk
impl PartialEq for CorrectionChunk
Source§impl Serialize for CorrectionChunk
impl Serialize for CorrectionChunk
impl StructuralPartialEq for CorrectionChunk
Auto Trait Implementations§
impl Freeze for CorrectionChunk
impl RefUnwindSafe for CorrectionChunk
impl Send for CorrectionChunk
impl Sync for CorrectionChunk
impl Unpin for CorrectionChunk
impl UnsafeUnpin for CorrectionChunk
impl UnwindSafe for CorrectionChunk
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