pub struct DistillerSection {
pub enabled: bool,
pub provider: String,
pub model: String,
pub api_key_env: String,
pub base_url_env: String,
}Expand description
Credentialed SessionEnd distiller config. Secret values (the API key,
optional base URL) live in .env under the env-var names below; only
non-secret selection lives here. provider is anthropic or openai.
Fields§
§enabled: bool§provider: String§model: String§api_key_env: String§base_url_env: StringTrait Implementations§
Source§impl Clone for DistillerSection
impl Clone for DistillerSection
Source§fn clone(&self) -> DistillerSection
fn clone(&self) -> DistillerSection
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 DistillerSection
impl Debug for DistillerSection
Source§impl Default for DistillerSection
impl Default for DistillerSection
Source§impl<'de> Deserialize<'de> for DistillerSection
impl<'de> Deserialize<'de> for DistillerSection
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
Auto Trait Implementations§
impl Freeze for DistillerSection
impl RefUnwindSafe for DistillerSection
impl Send for DistillerSection
impl Sync for DistillerSection
impl Unpin for DistillerSection
impl UnsafeUnpin for DistillerSection
impl UnwindSafe for DistillerSection
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