pub struct RepairConfig {
pub nudge_after: u32,
pub escalate_after: u32,
}Expand description
Configuration for the conversation repair system.
Fields§
§nudge_after: u32Turns without progress before first nudge.
escalate_after: u32Turns without progress before escalation flag is set.
Implementations§
Source§impl RepairConfig
impl RepairConfig
Sourcepub fn nudge_after(self, n: u32) -> Self
pub fn nudge_after(self, n: u32) -> Self
Set the nudge threshold.
Sourcepub fn escalate_after(self, n: u32) -> Self
pub fn escalate_after(self, n: u32) -> Self
Set the escalation threshold.
Trait Implementations§
Source§impl Clone for RepairConfig
impl Clone for RepairConfig
Source§fn clone(&self) -> RepairConfig
fn clone(&self) -> RepairConfig
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 RepairConfig
impl Debug for RepairConfig
Auto Trait Implementations§
impl Freeze for RepairConfig
impl RefUnwindSafe for RepairConfig
impl Send for RepairConfig
impl Sync for RepairConfig
impl Unpin for RepairConfig
impl UnwindSafe for RepairConfig
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