pub struct EvalStoredCompletionsDataSourceConfig {
pub metadata: Option<Metadata>,
pub schema: HashMap<String, Value>,
}
Expand description
Deprecated in favor of LogsDataSourceConfig.
Fields§
§metadata: Option<Metadata>
§schema: HashMap<String, Value>
The json schema for the run data source items. Learn how to build JSON schemas here.
Implementations§
Source§impl EvalStoredCompletionsDataSourceConfig
impl EvalStoredCompletionsDataSourceConfig
Sourcepub fn builder() -> EvalStoredCompletionsDataSourceConfigBuilder<((), ())>
pub fn builder() -> EvalStoredCompletionsDataSourceConfigBuilder<((), ())>
Create a builder for building EvalStoredCompletionsDataSourceConfig
.
On the builder, call .metadata(...)
(optional), .schema(...)
to set the values of the fields.
Finally, call .build()
to create the instance of EvalStoredCompletionsDataSourceConfig
.
Trait Implementations§
Source§impl Clone for EvalStoredCompletionsDataSourceConfig
impl Clone for EvalStoredCompletionsDataSourceConfig
Source§fn clone(&self) -> EvalStoredCompletionsDataSourceConfig
fn clone(&self) -> EvalStoredCompletionsDataSourceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for EvalStoredCompletionsDataSourceConfig
impl<'de> Deserialize<'de> for EvalStoredCompletionsDataSourceConfig
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 EvalStoredCompletionsDataSourceConfig
impl PartialEq for EvalStoredCompletionsDataSourceConfig
Source§fn eq(&self, other: &EvalStoredCompletionsDataSourceConfig) -> bool
fn eq(&self, other: &EvalStoredCompletionsDataSourceConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for EvalStoredCompletionsDataSourceConfig
Auto Trait Implementations§
impl Freeze for EvalStoredCompletionsDataSourceConfig
impl RefUnwindSafe for EvalStoredCompletionsDataSourceConfig
impl Send for EvalStoredCompletionsDataSourceConfig
impl Sync for EvalStoredCompletionsDataSourceConfig
impl Unpin for EvalStoredCompletionsDataSourceConfig
impl UnwindSafe for EvalStoredCompletionsDataSourceConfig
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