pub struct QQGuildNotifier { /* private fields */ }Implementations§
Source§impl QQGuildNotifier
impl QQGuildNotifier
pub fn new(client: Client, conf: QQGuildBotConfig) -> Self
Trait Implementations§
Source§impl Clone for QQGuildNotifier
impl Clone for QQGuildNotifier
Source§fn clone(&self) -> QQGuildNotifier
fn clone(&self) -> QQGuildNotifier
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 Notifier for QQGuildNotifier
impl Notifier for QQGuildNotifier
fn notify<'life0, 'life1, 'async_trait>(
&'life0 mut self,
source: &'life1 str,
items: Vec<Item>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn num_items_each_notify(&self) -> usize
fn num_items_each_notify(&self) -> usize
The number of items to be notified each time. Read more
Auto Trait Implementations§
impl Freeze for QQGuildNotifier
impl !RefUnwindSafe for QQGuildNotifier
impl Send for QQGuildNotifier
impl Sync for QQGuildNotifier
impl Unpin for QQGuildNotifier
impl !UnwindSafe for QQGuildNotifier
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