pub struct RlmProjectorConfig {
pub max_output_chars: usize,
pub max_budget_tokens: Option<usize>,
pub last_prompt_usage: Arc<RwLock<Option<PromptUsage>>>,
pub prompt_features: RlmPromptFeatures,
}Fields§
§max_output_chars: usize§max_budget_tokens: Option<usize>§last_prompt_usage: Arc<RwLock<Option<PromptUsage>>>§prompt_features: RlmPromptFeaturesTrait Implementations§
Source§impl Clone for RlmProjectorConfig
impl Clone for RlmProjectorConfig
Source§fn clone(&self) -> RlmProjectorConfig
fn clone(&self) -> RlmProjectorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RlmProjectorConfig
impl RefUnwindSafe for RlmProjectorConfig
impl Send for RlmProjectorConfig
impl Sync for RlmProjectorConfig
impl Unpin for RlmProjectorConfig
impl UnsafeUnpin for RlmProjectorConfig
impl UnwindSafe for RlmProjectorConfig
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