pub struct AutoReplyConfig {
pub enabled: bool,
pub cooldown_seconds: u64,
pub triggers: Vec<TriggerConfig>,
}Expand description
Configuration for the auto reply plugin
Fields§
§enabled: boolWhether the plugin is enabled
cooldown_seconds: u64Minimum cooldown between replies in seconds
triggers: Vec<TriggerConfig>List of trigger configurations
Trait Implementations§
Source§impl Clone for AutoReplyConfig
impl Clone for AutoReplyConfig
Source§fn clone(&self) -> AutoReplyConfig
fn clone(&self) -> AutoReplyConfig
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 AutoReplyConfig
impl Debug for AutoReplyConfig
Auto Trait Implementations§
impl Freeze for AutoReplyConfig
impl RefUnwindSafe for AutoReplyConfig
impl Send for AutoReplyConfig
impl Sync for AutoReplyConfig
impl Unpin for AutoReplyConfig
impl UnwindSafe for AutoReplyConfig
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