pub struct TrainingRecord {
pub session_id: String,
pub platform: String,
pub screen_width: f32,
pub screen_height: f32,
pub batches: Vec<TrainingBatch>,
pub final_tree: Option<TreeSnapshot>,
pub tags: Vec<String>,
}Expand description
A training data record: an IR session annotated with metadata.
Fields§
§session_id: StringUnique session ID.
platform: StringPlatform this session was recorded on.
screen_width: f32Screen dimensions at recording time.
screen_height: f32§batches: Vec<TrainingBatch>Sequence of IR batches (from IrRecorder).
final_tree: Option<TreeSnapshot>Optional: final tree structure for supervised learning.
Annotation tags (e.g., “login_flow”, “settings_page”).
Trait Implementations§
Source§impl Clone for TrainingRecord
impl Clone for TrainingRecord
Source§fn clone(&self) -> TrainingRecord
fn clone(&self) -> TrainingRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 TrainingRecord
impl Debug for TrainingRecord
Source§impl<'de> Deserialize<'de> for TrainingRecord
impl<'de> Deserialize<'de> for TrainingRecord
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 TrainingRecord
impl RefUnwindSafe for TrainingRecord
impl Send for TrainingRecord
impl Sync for TrainingRecord
impl Unpin for TrainingRecord
impl UnsafeUnpin for TrainingRecord
impl UnwindSafe for TrainingRecord
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