pub struct CreateEvalStoredCompletionsDataSourceConfig {
pub metadata: Option<IndexMap<String, Value>>,
}
Expand description
Deprecated in favor of LogsDataSourceConfig.
Fields§
§metadata: Option<IndexMap<String, Value>>
Metadata filters for the stored completions data source.
Implementations§
Source§impl CreateEvalStoredCompletionsDataSourceConfig
impl CreateEvalStoredCompletionsDataSourceConfig
Sourcepub fn builder() -> CreateEvalStoredCompletionsDataSourceConfigBuilder<((),)>
pub fn builder() -> CreateEvalStoredCompletionsDataSourceConfigBuilder<((),)>
Create a builder for building CreateEvalStoredCompletionsDataSourceConfig
.
On the builder, call .metadata(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of CreateEvalStoredCompletionsDataSourceConfig
.
Trait Implementations§
Source§impl Clone for CreateEvalStoredCompletionsDataSourceConfig
impl Clone for CreateEvalStoredCompletionsDataSourceConfig
Source§fn clone(&self) -> CreateEvalStoredCompletionsDataSourceConfig
fn clone(&self) -> CreateEvalStoredCompletionsDataSourceConfig
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 Default for CreateEvalStoredCompletionsDataSourceConfig
impl Default for CreateEvalStoredCompletionsDataSourceConfig
Source§fn default() -> CreateEvalStoredCompletionsDataSourceConfig
fn default() -> CreateEvalStoredCompletionsDataSourceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateEvalStoredCompletionsDataSourceConfig
impl<'de> Deserialize<'de> for CreateEvalStoredCompletionsDataSourceConfig
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 CreateEvalStoredCompletionsDataSourceConfig
impl PartialEq for CreateEvalStoredCompletionsDataSourceConfig
Source§fn eq(&self, other: &CreateEvalStoredCompletionsDataSourceConfig) -> bool
fn eq(&self, other: &CreateEvalStoredCompletionsDataSourceConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateEvalStoredCompletionsDataSourceConfig
Auto Trait Implementations§
impl Freeze for CreateEvalStoredCompletionsDataSourceConfig
impl RefUnwindSafe for CreateEvalStoredCompletionsDataSourceConfig
impl Send for CreateEvalStoredCompletionsDataSourceConfig
impl Sync for CreateEvalStoredCompletionsDataSourceConfig
impl Unpin for CreateEvalStoredCompletionsDataSourceConfig
impl UnwindSafe for CreateEvalStoredCompletionsDataSourceConfig
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