pub struct CodeExplanationOutput {
pub original_code: String,
pub language: Option<String>,
pub reasoning_steps: Vec<String>,
pub summary: String,
pub confidence: f32,
}Expand description
Code explanation output with structured analysis
Fields§
§original_code: String§language: Option<String>§reasoning_steps: Vec<String>§summary: String§confidence: f32Trait Implementations§
Source§impl Clone for CodeExplanationOutput
impl Clone for CodeExplanationOutput
Source§fn clone(&self) -> CodeExplanationOutput
fn clone(&self) -> CodeExplanationOutput
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 CodeExplanationOutput
impl Debug for CodeExplanationOutput
Source§impl<'de> Deserialize<'de> for CodeExplanationOutput
impl<'de> Deserialize<'de> for CodeExplanationOutput
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 CodeExplanationOutput
impl RefUnwindSafe for CodeExplanationOutput
impl Send for CodeExplanationOutput
impl Sync for CodeExplanationOutput
impl Unpin for CodeExplanationOutput
impl UnwindSafe for CodeExplanationOutput
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