pub struct LangfuseConfig {
pub enabled: bool,
pub host: Option<String>,
pub public_key: Option<String>,
pub secret_key: Option<String>,
pub flush_interval_ms: Option<u64>,
pub max_batch: Option<usize>,
}Expand description
Langfuse upload configuration.
Disabled by default; if enabled = true but keys are missing, the assembly layer
warns and disables it (no silent success).
Fields§
§enabled: bool§host: Option<String>Langfuse host, e.g. https://cloud.langfuse.com. None uses the assembly layer
default.
public_key: Option<String>§secret_key: Option<String>§flush_interval_ms: Option<u64>Flush interval in milliseconds. None uses the assembly layer default.
max_batch: Option<usize>Maximum number of events per batch. None uses the assembly layer default.
Trait Implementations§
Source§impl Clone for LangfuseConfig
impl Clone for LangfuseConfig
Source§fn clone(&self) -> LangfuseConfig
fn clone(&self) -> LangfuseConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LangfuseConfig
impl Debug for LangfuseConfig
Source§impl Default for LangfuseConfig
impl Default for LangfuseConfig
Source§fn default() -> LangfuseConfig
fn default() -> LangfuseConfig
Returns the “default value” for a type. Read more
impl Eq for LangfuseConfig
Source§impl PartialEq for LangfuseConfig
impl PartialEq for LangfuseConfig
Source§fn eq(&self, other: &LangfuseConfig) -> bool
fn eq(&self, other: &LangfuseConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LangfuseConfig
Auto Trait Implementations§
impl Freeze for LangfuseConfig
impl RefUnwindSafe for LangfuseConfig
impl Send for LangfuseConfig
impl Sync for LangfuseConfig
impl Unpin for LangfuseConfig
impl UnsafeUnpin for LangfuseConfig
impl UnwindSafe for LangfuseConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.