pub struct LlamaConfig {
pub base_url: String,
pub insecure: bool,
}Expand description
Llama.cpp-specific configuration
Fields§
§base_url: String§insecure: boolTrait Implementations§
Source§impl Clone for LlamaConfig
impl Clone for LlamaConfig
Source§fn clone(&self) -> LlamaConfig
fn clone(&self) -> LlamaConfig
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 moreSource§impl Debug for LlamaConfig
impl Debug for LlamaConfig
Source§impl<'de> Deserialize<'de> for LlamaConfig
impl<'de> Deserialize<'de> for LlamaConfig
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 LlamaConfig
impl RefUnwindSafe for LlamaConfig
impl Send for LlamaConfig
impl Sync for LlamaConfig
impl Unpin for LlamaConfig
impl UnwindSafe for LlamaConfig
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