pub struct CreateEvalCustomDataSourceConfig {
pub item_schema: Value,
pub include_sample_schema: Option<bool>,
}Available on crate feature
eval-types only.Fields§
§item_schema: ValueThe json schema for each row in the data source.
include_sample_schema: Option<bool>Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source).
Trait Implementations§
impl StructuralPartialEq for CreateEvalCustomDataSourceConfig
Auto Trait Implementations§
impl Freeze for CreateEvalCustomDataSourceConfig
impl RefUnwindSafe for CreateEvalCustomDataSourceConfig
impl Send for CreateEvalCustomDataSourceConfig
impl Sync for CreateEvalCustomDataSourceConfig
impl Unpin for CreateEvalCustomDataSourceConfig
impl UnsafeUnpin for CreateEvalCustomDataSourceConfig
impl UnwindSafe for CreateEvalCustomDataSourceConfig
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