pub struct CorrectionPacket {
pub recording_id: Uuid,
pub user_id: String,
pub sha256: String,
pub original_filename: String,
pub size_bytes: u64,
pub recorded_at: DateTime<Utc>,
pub clean: bool,
pub chunk_count: usize,
pub chunks: Vec<CorrectionChunk>,
pub confirmation_state: ConfirmationState,
}Expand description
Complete transport-neutral correction packet for one recording.
Fields§
§recording_id: UuidStable recording UUID.
user_id: StringStable application user identifier associated with provider usage.
sha256: StringLowercase SHA-256 identity of the retained original bytes.
original_filename: StringSanitized original filename.
size_bytes: u64Original retained file size in bytes.
recorded_at: DateTime<Utc>Instant at which the recording began.
clean: boolWhether every chunk passed the recording-level clean gate.
chunk_count: usizeTotal chronological chunk count.
chunks: Vec<CorrectionChunk>Every raw response, parsed structure, row, mapping, key, and interval.
confirmation_state: ConfirmationStateCurrent durable confirmation and training state.
Trait Implementations§
Source§impl Clone for CorrectionPacket
impl Clone for CorrectionPacket
Source§fn clone(&self) -> CorrectionPacket
fn clone(&self) -> CorrectionPacket
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 CorrectionPacket
impl Debug for CorrectionPacket
Source§impl<'de> Deserialize<'de> for CorrectionPacket
impl<'de> Deserialize<'de> for CorrectionPacket
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 CorrectionPacket
impl PartialEq for CorrectionPacket
Source§impl Serialize for CorrectionPacket
impl Serialize for CorrectionPacket
impl StructuralPartialEq for CorrectionPacket
Auto Trait Implementations§
impl Freeze for CorrectionPacket
impl RefUnwindSafe for CorrectionPacket
impl Send for CorrectionPacket
impl Sync for CorrectionPacket
impl Unpin for CorrectionPacket
impl UnsafeUnpin for CorrectionPacket
impl UnwindSafe for CorrectionPacket
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