pub struct LlmPresetFields {
pub provider: String,
pub model: String,
pub api_key: String,
pub api_url: String,
pub api_headers: String,
}Fields§
§provider: String§model: String§api_key: String§api_url: String§api_headers: StringTrait Implementations§
Source§impl Clone for LlmPresetFields
impl Clone for LlmPresetFields
Source§fn clone(&self) -> LlmPresetFields
fn clone(&self) -> LlmPresetFields
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 LlmPresetFields
impl Debug for LlmPresetFields
Source§impl<'de> Deserialize<'de> for LlmPresetFields
impl<'de> Deserialize<'de> for LlmPresetFields
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
Source§impl PartialEq for LlmPresetFields
impl PartialEq for LlmPresetFields
Source§impl Serialize for LlmPresetFields
impl Serialize for LlmPresetFields
impl StructuralPartialEq for LlmPresetFields
Auto Trait Implementations§
impl Freeze for LlmPresetFields
impl RefUnwindSafe for LlmPresetFields
impl Send for LlmPresetFields
impl Sync for LlmPresetFields
impl Unpin for LlmPresetFields
impl UnsafeUnpin for LlmPresetFields
impl UnwindSafe for LlmPresetFields
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