pub struct EvalCustomDataSourceConfig {
pub schema: IndexMap<String, Value>,
}
Expand description
A CustomDataSourceConfig which specifies the schema of your item
and optionally sample
namespaces.
The response schema defines the shape of the data that will be:
- Used to define your testing criteria and
- What data is required when creating a run
Fields§
§schema: IndexMap<String, Value>
The json schema for the run data source items. Learn how to build JSON schemas here.
Implementations§
Trait Implementations§
Source§impl Clone for EvalCustomDataSourceConfig
impl Clone for EvalCustomDataSourceConfig
Source§fn clone(&self) -> EvalCustomDataSourceConfig
fn clone(&self) -> EvalCustomDataSourceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EvalCustomDataSourceConfig
impl Debug for EvalCustomDataSourceConfig
Source§impl<'de> Deserialize<'de> for EvalCustomDataSourceConfig
impl<'de> Deserialize<'de> for EvalCustomDataSourceConfig
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 EvalCustomDataSourceConfig
impl PartialEq for EvalCustomDataSourceConfig
Source§fn eq(&self, other: &EvalCustomDataSourceConfig) -> bool
fn eq(&self, other: &EvalCustomDataSourceConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EvalCustomDataSourceConfig
Auto Trait Implementations§
impl Freeze for EvalCustomDataSourceConfig
impl RefUnwindSafe for EvalCustomDataSourceConfig
impl Send for EvalCustomDataSourceConfig
impl Sync for EvalCustomDataSourceConfig
impl Unpin for EvalCustomDataSourceConfig
impl UnwindSafe for EvalCustomDataSourceConfig
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