pub struct HttpPreset {
pub endpoint: Option<&'static str>,
pub api_key_env: Option<&'static str>,
pub protocol: Option<&'static str>,
pub key_url: Option<&'static str>,
pub max_tokens: Option<u32>,
pub temperature: Option<f32>,
}Expand description
HTTP-specific preset fields.
Fields§
§endpoint: Option<&'static str>§api_key_env: Option<&'static str>§protocol: Option<&'static str>§key_url: Option<&'static str>§max_tokens: Option<u32>§temperature: Option<f32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpPreset
impl RefUnwindSafe for HttpPreset
impl Send for HttpPreset
impl Sync for HttpPreset
impl Unpin for HttpPreset
impl UnsafeUnpin for HttpPreset
impl UnwindSafe for HttpPreset
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