pub struct SummarySettings {
pub provider: SummaryProviderSettings,
pub prompt: SummaryPromptSettings,
pub response: SummaryResponseSettings,
pub storage: SummaryStorageSettings,
pub source_mode: SummarySourceMode,
pub batch: SummaryBatchSettings,
}Fields§
§provider: SummaryProviderSettings§prompt: SummaryPromptSettings§response: SummaryResponseSettings§storage: SummaryStorageSettings§source_mode: SummarySourceModeKept for CLI/CI and non-desktop runtimes.
batch: SummaryBatchSettingsImplementations§
Source§impl SummarySettings
impl SummarySettings
pub fn is_configured(&self) -> bool
pub fn provider_transport(&self) -> SummaryProviderTransport
pub fn allows_git_changes_fallback(&self) -> bool
pub fn should_generate_on_session_save(&self) -> bool
pub fn persists_to_local_db(&self) -> bool
Trait Implementations§
Source§impl Clone for SummarySettings
impl Clone for SummarySettings
Source§fn clone(&self) -> SummarySettings
fn clone(&self) -> SummarySettings
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 SummarySettings
impl Debug for SummarySettings
Source§impl Default for SummarySettings
impl Default for SummarySettings
Source§fn default() -> SummarySettings
fn default() -> SummarySettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SummarySettings
impl<'de> Deserialize<'de> for SummarySettings
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 SummarySettings
impl RefUnwindSafe for SummarySettings
impl Send for SummarySettings
impl Sync for SummarySettings
impl Unpin for SummarySettings
impl UnsafeUnpin for SummarySettings
impl UnwindSafe for SummarySettings
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