pub struct DatabricksConfig {
pub host: String,
pub token: Option<String>,
pub model: String,
pub max_tokens: Option<u32>,
pub temperature: Option<f32>,
pub use_oauth: Option<bool>,
}Fields§
§host: String§token: Option<String>§model: String§max_tokens: Option<u32>§temperature: Option<f32>§use_oauth: Option<bool>Trait Implementations§
Source§impl Clone for DatabricksConfig
impl Clone for DatabricksConfig
Source§fn clone(&self) -> DatabricksConfig
fn clone(&self) -> DatabricksConfig
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 DatabricksConfig
impl Debug for DatabricksConfig
Source§impl<'de> Deserialize<'de> for DatabricksConfig
impl<'de> Deserialize<'de> for DatabricksConfig
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 DatabricksConfig
impl RefUnwindSafe for DatabricksConfig
impl Send for DatabricksConfig
impl Sync for DatabricksConfig
impl Unpin for DatabricksConfig
impl UnwindSafe for DatabricksConfig
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