pub struct SummarizeConfig {
pub model: String,
pub max_file_tokens: usize,
pub api_key_env: String,
}Fields§
§model: String§max_file_tokens: usize§api_key_env: StringTrait Implementations§
Source§impl Clone for SummarizeConfig
impl Clone for SummarizeConfig
Source§fn clone(&self) -> SummarizeConfig
fn clone(&self) -> SummarizeConfig
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 moreSource§impl Debug for SummarizeConfig
impl Debug for SummarizeConfig
Auto Trait Implementations§
impl Freeze for SummarizeConfig
impl RefUnwindSafe for SummarizeConfig
impl Send for SummarizeConfig
impl Sync for SummarizeConfig
impl Unpin for SummarizeConfig
impl UnsafeUnpin for SummarizeConfig
impl UnwindSafe for SummarizeConfig
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