pub struct AGScheduler {
pub endpoint: String,
}Fields§
§endpoint: StringImplementations§
Source§impl AGScheduler
impl AGScheduler
pub async fn add_job(&self, interaction: &dyn InteractionTrait)
pub async fn update_job(&self, interaction: &dyn InteractionTrait)
pub async fn get_job(&self, interaction: &dyn InteractionTrait)
pub async fn get_all_jobs(&self)
pub async fn delete_job(&self, interaction: &dyn InteractionTrait)
pub async fn delete_all_jobs(&self, interaction: &dyn InteractionTrait)
pub async fn pause_or_resume_job( &self, action: &str, interaction: &dyn InteractionTrait, )
pub async fn run_or_schedule_job( &self, action: &str, interaction: &dyn InteractionTrait, )
pub async fn start_or_stop(&self, action: &str)
pub async fn get_records(&self, interaction: &dyn InteractionTrait)
pub async fn get_all_records(&self, interaction: &dyn InteractionTrait)
pub async fn delete_records(&self, interaction: &dyn InteractionTrait)
pub async fn delete_all_records(&self, interaction: &dyn InteractionTrait)
pub async fn get_info(&self)
pub async fn get_funcs(&self)
pub async fn get_queues(&self)
pub async fn get_cluster_nodes(&self)
Auto Trait Implementations§
impl Freeze for AGScheduler
impl RefUnwindSafe for AGScheduler
impl Send for AGScheduler
impl Sync for AGScheduler
impl Unpin for AGScheduler
impl UnwindSafe for AGScheduler
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