pub struct LangfuseConfig {
pub public_key: String,
pub secret_key: String,
pub host: String,
pub flush_batch_size: usize,
}Expand description
Configuration for the Langfuse callback.
Fields§
§public_key: StringLangfuse public key (pk-lf-…)
secret_key: StringLangfuse secret key (sk-lf-…)
host: StringLangfuse host (default: https://cloud.langfuse.com)
flush_batch_size: usizeHow many events to buffer before flushing (default: 20)
Implementations§
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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