pub struct SynthesisResponse {
pub examples: Vec<SynthesisExample>,
pub implementation: String,
pub language: String,
}Expand description
Code + examples returned by the synthesis codegen LLM call.
Fields§
§examples: Vec<SynthesisExample>§implementation: String§language: StringTrait Implementations§
Source§impl Clone for SynthesisResponse
impl Clone for SynthesisResponse
Source§fn clone(&self) -> SynthesisResponse
fn clone(&self) -> SynthesisResponse
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 SynthesisResponse
impl Debug for SynthesisResponse
Source§impl<'de> Deserialize<'de> for SynthesisResponse
impl<'de> Deserialize<'de> for SynthesisResponse
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 SynthesisResponse
impl RefUnwindSafe for SynthesisResponse
impl Send for SynthesisResponse
impl Sync for SynthesisResponse
impl Unpin for SynthesisResponse
impl UnsafeUnpin for SynthesisResponse
impl UnwindSafe for SynthesisResponse
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