pub struct ConversationLimits {
pub max: usize,
pub idle: Duration,
}Fields§
§max: usizeConversations remembered per session; starting another forgets the least recently used idle one.
idle: DurationA conversation unused this long is forgotten.
Trait Implementations§
Source§impl Clone for ConversationLimits
impl Clone for ConversationLimits
impl Copy for ConversationLimits
Auto Trait Implementations§
impl Freeze for ConversationLimits
impl RefUnwindSafe for ConversationLimits
impl Send for ConversationLimits
impl Sync for ConversationLimits
impl Unpin for ConversationLimits
impl UnsafeUnpin for ConversationLimits
impl UnwindSafe for ConversationLimits
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