pub struct CreateEvalLogsDataSourceConfig {
pub metadata: Option<HashMap<String, Value>>,
}
Expand description
A data source config which specifies the metadata property of your logs query.
This is usually metadata like usecase=chatbot
or prompt-version=v2
, etc.
Fields§
§metadata: Option<HashMap<String, Value>>
Metadata filters for the logs data source.
Implementations§
Trait Implementations§
Source§impl Clone for CreateEvalLogsDataSourceConfig
impl Clone for CreateEvalLogsDataSourceConfig
Source§fn clone(&self) -> CreateEvalLogsDataSourceConfig
fn clone(&self) -> CreateEvalLogsDataSourceConfig
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 Default for CreateEvalLogsDataSourceConfig
impl Default for CreateEvalLogsDataSourceConfig
Source§fn default() -> CreateEvalLogsDataSourceConfig
fn default() -> CreateEvalLogsDataSourceConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateEvalLogsDataSourceConfig
impl<'de> Deserialize<'de> for CreateEvalLogsDataSourceConfig
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 CreateEvalLogsDataSourceConfig
impl PartialEq for CreateEvalLogsDataSourceConfig
Source§fn eq(&self, other: &CreateEvalLogsDataSourceConfig) -> bool
fn eq(&self, other: &CreateEvalLogsDataSourceConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateEvalLogsDataSourceConfig
Auto Trait Implementations§
impl Freeze for CreateEvalLogsDataSourceConfig
impl RefUnwindSafe for CreateEvalLogsDataSourceConfig
impl Send for CreateEvalLogsDataSourceConfig
impl Sync for CreateEvalLogsDataSourceConfig
impl Unpin for CreateEvalLogsDataSourceConfig
impl UnwindSafe for CreateEvalLogsDataSourceConfig
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