#[non_exhaustive]pub struct CodeContextPackOutput {
pub lessons: Vec<HashMap<String, Value>>,
pub lessons_left_out: Integer,
pub context: String,
pub tokens_used: Integer,
pub source: CodeContextPackOutputSource,
pub truncated: bool,
pub merge_commit_sha: String,
pub trace_run_id: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lessons: Vec<HashMap<String, Value>>§lessons_left_out: Integer§context: String§tokens_used: Integer§source: CodeContextPackOutputSource§truncated: bool§merge_commit_sha: String§trace_run_id: StringTrait Implementations§
Source§impl Clone for CodeContextPackOutput
impl Clone for CodeContextPackOutput
Source§impl Debug for CodeContextPackOutput
impl Debug for CodeContextPackOutput
Source§impl<'de> Deserialize<'de> for CodeContextPackOutput
impl<'de> Deserialize<'de> for CodeContextPackOutput
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 CodeContextPackOutput
impl PartialEq for CodeContextPackOutput
Source§impl Serialize for CodeContextPackOutput
impl Serialize for CodeContextPackOutput
impl StructuralPartialEq for CodeContextPackOutput
Auto Trait Implementations§
impl Forget for CodeContextPackOutput
impl Freeze for CodeContextPackOutput
impl Move for CodeContextPackOutput
impl RefUnwindSafe for CodeContextPackOutput
impl Send for CodeContextPackOutput
impl Sync for CodeContextPackOutput
impl Unpin for CodeContextPackOutput
impl UnsafeUnpin for CodeContextPackOutput
impl UnwindSafe for CodeContextPackOutput
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