#[non_exhaustive]pub struct CommonConfig {
pub company_name: String,
/* private fields */
}Available on crate feature
engine-service only.Expand description
Common configurations for an Engine.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.company_name: StringThe name of the company, business or entity that is associated with the engine. Setting this may help improve LLM related features.
Implementations§
Source§impl CommonConfig
impl CommonConfig
Trait Implementations§
Source§impl Clone for CommonConfig
impl Clone for CommonConfig
Source§fn clone(&self) -> CommonConfig
fn clone(&self) -> CommonConfig
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 CommonConfig
impl Debug for CommonConfig
Source§impl Default for CommonConfig
impl Default for CommonConfig
Source§fn default() -> CommonConfig
fn default() -> CommonConfig
Returns the “default value” for a type. Read more
Source§impl Message for CommonConfig
impl Message for CommonConfig
Source§impl PartialEq for CommonConfig
impl PartialEq for CommonConfig
impl StructuralPartialEq for CommonConfig
Auto Trait Implementations§
impl Freeze for CommonConfig
impl RefUnwindSafe for CommonConfig
impl Send for CommonConfig
impl Sync for CommonConfig
impl Unpin for CommonConfig
impl UnwindSafe for CommonConfig
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