pub struct EvalCustomDataSourceConfig {
pub schema_: HashMap<String, Value>,
pub type_: String,
}Expand description
A CustomDataSourceConfig which specifies the schema of your item and optionally sample namespaces.
Fields§
§schema_: HashMap<String, Value>The json schema for the run data source items. Learn how to build JSON schemas
type_: StringThe type of data source. Always custom.
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 (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 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
Auto Trait Implementations§
impl Freeze for EvalCustomDataSourceConfig
impl RefUnwindSafe for EvalCustomDataSourceConfig
impl Send for EvalCustomDataSourceConfig
impl Sync for EvalCustomDataSourceConfig
impl Unpin for EvalCustomDataSourceConfig
impl UnsafeUnpin 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