pub struct TransformResult {
pub content: String,
pub original_tokens: Option<usize>,
pub transformed_tokens: Option<usize>,
pub duration_ms: Option<u64>,
}Expand description
Result of transformation with optional metadata
ARCHITECTURE: Separate struct for future extensibility (token counts, timing, etc.)
Fields§
§content: StringTransformed source code
original_tokens: Option<usize>Original token count (optional, Phase 3)
transformed_tokens: Option<usize>Transformed token count (optional, Phase 3)
duration_ms: Option<u64>Time taken to transform in milliseconds (optional, for debugging)
Implementations§
Trait Implementations§
Source§impl Clone for TransformResult
impl Clone for TransformResult
Source§fn clone(&self) -> TransformResult
fn clone(&self) -> TransformResult
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 moreAuto Trait Implementations§
impl Freeze for TransformResult
impl RefUnwindSafe for TransformResult
impl Send for TransformResult
impl Sync for TransformResult
impl Unpin for TransformResult
impl UnwindSafe for TransformResult
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