pub struct EvalStoredCompletionsDataSourceConfig {
pub type: String,
pub metadata: Option<Metadata>,
pub schema: Value,
}Expand description
Stored completions data source config (deprecated).
Fields§
§type: StringThe type of data source. Always “stored_completions”.
metadata: Option<Metadata>Metadata filters for the stored completions data source.
schema: ValueThe json schema for the run data source items.
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