pub struct AIFeatures {
pub chat_enabled: bool,
pub doc_generation_enabled: bool,
pub model: String,
pub max_tokens: i32,
pub max_completion_tokens: i32,
pub temperature: i32,
}
Expand description
AI feature flags and settings.
Fields§
§chat_enabled: bool
§doc_generation_enabled: bool
§model: String
§max_tokens: i32
§max_completion_tokens: i32
§temperature: i32
Trait Implementations§
Source§impl Clone for AIFeatures
impl Clone for AIFeatures
Source§fn clone(&self) -> AIFeatures
fn clone(&self) -> AIFeatures
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 AIFeatures
impl Debug for AIFeatures
Source§impl Default for AIFeatures
impl Default for AIFeatures
Source§impl<'de> Deserialize<'de> for AIFeatures
impl<'de> Deserialize<'de> for AIFeatures
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 AIFeatures
impl RefUnwindSafe for AIFeatures
impl Send for AIFeatures
impl Sync for AIFeatures
impl Unpin for AIFeatures
impl UnwindSafe for AIFeatures
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