pub struct LangfuseObservabilityPlan {
pub provider: ProviderTrue,
pub tags: Vec<String>,
pub metadata: Option<Value>,
}
Fields§
§provider: ProviderTrue
This is an array of tags to be added to the Langfuse trace. Tags allow you to categorize and filter traces. https://langfuse.com/docs/tracing-features/tags
metadata: Option<Value>
This is a JSON object that will be added to the Langfuse trace. Traces can be enriched with metadata to better understand your users, application, and experiments. https://langfuse.com/docs/tracing-features/metadata By default it includes the call metadata, assistant metadata, and assistant overrides.
Implementations§
Source§impl LangfuseObservabilityPlan
impl LangfuseObservabilityPlan
pub fn new( provider: ProviderTrue, tags: Vec<String>, ) -> LangfuseObservabilityPlan
Trait Implementations§
Source§impl Clone for LangfuseObservabilityPlan
impl Clone for LangfuseObservabilityPlan
Source§fn clone(&self) -> LangfuseObservabilityPlan
fn clone(&self) -> LangfuseObservabilityPlan
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 Debug for LangfuseObservabilityPlan
impl Debug for LangfuseObservabilityPlan
Source§impl Default for LangfuseObservabilityPlan
impl Default for LangfuseObservabilityPlan
Source§fn default() -> LangfuseObservabilityPlan
fn default() -> LangfuseObservabilityPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LangfuseObservabilityPlan
impl<'de> Deserialize<'de> for LangfuseObservabilityPlan
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
impl StructuralPartialEq for LangfuseObservabilityPlan
Auto Trait Implementations§
impl Freeze for LangfuseObservabilityPlan
impl RefUnwindSafe for LangfuseObservabilityPlan
impl Send for LangfuseObservabilityPlan
impl Sync for LangfuseObservabilityPlan
impl Unpin for LangfuseObservabilityPlan
impl UnwindSafe for LangfuseObservabilityPlan
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