pub struct ExtractionContract {
pub schema_key: Key,
pub prompt: &'static str,
pub response_mime: &'static str,
pub normalized_schema_key: Key,
pub normalized_mime: &'static str,
}Fields§
§schema_key: Key§prompt: &'static str§response_mime: &'static str§normalized_schema_key: Key§normalized_mime: &'static strTrait Implementations§
Source§impl Clone for ExtractionContract
impl Clone for ExtractionContract
Source§fn clone(&self) -> ExtractionContract
fn clone(&self) -> ExtractionContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExtractionContract
impl Debug for ExtractionContract
impl Eq for ExtractionContract
Source§impl PartialEq for ExtractionContract
impl PartialEq for ExtractionContract
impl StructuralPartialEq for ExtractionContract
Auto Trait Implementations§
impl Freeze for ExtractionContract
impl RefUnwindSafe for ExtractionContract
impl Send for ExtractionContract
impl Sync for ExtractionContract
impl Unpin for ExtractionContract
impl UnsafeUnpin for ExtractionContract
impl UnwindSafe for ExtractionContract
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