pub struct BotConfig {
pub confirm_timeout_secs: Option<u64>,
pub session_timeout_minutes: Option<u64>,
pub confirm_keywords: Option<ConfirmKeywordsConfig>,
}Expand description
Shared Bot platform settings under [app.bot].
Fields§
§confirm_timeout_secs: Option<u64>Timeout (seconds) for waiting on a tool confirmation reply.
session_timeout_minutes: Option<u64>Idle session expiry (minutes) before cleanup.
confirm_keywords: Option<ConfirmKeywordsConfig>Custom confirm/reject keywords.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BotConfig
impl<'de> Deserialize<'de> for BotConfig
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 BotConfig
impl RefUnwindSafe for BotConfig
impl Send for BotConfig
impl Sync for BotConfig
impl Unpin for BotConfig
impl UnsafeUnpin for BotConfig
impl UnwindSafe for BotConfig
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