pub struct DialerResource {
pub behaviours: DialerBehavioursResource,
/* private fields */
}Expand description
Dialer runtime & reporting — /api/v2/dialer, with a nested behaviours sub-resource.
Fields§
§behaviours: DialerBehavioursResourceDialer behaviours — /api/v2/outbound/dialer-behaviours.
Implementations§
Source§impl DialerResource
impl DialerResource
Sourcepub async fn info(&self) -> Result<GenericItemResponse, ManagerError>
pub async fn info(&self) -> Result<GenericItemResponse, ManagerError>
Get inbound dialer runtime information — /api/v2/dialer.
Sourcepub async fn flush(
&self,
id: Option<&str>,
all: Option<bool>,
) -> Result<DefaultV2MessageResponse, ManagerError>
pub async fn flush( &self, id: Option<&str>, all: Option<bool>, ) -> Result<DefaultV2MessageResponse, ManagerError>
Flush dialer tasks — by id, or all.
Sourcepub async fn simple_reporting(&self) -> Result<Vec<ReportingCall>, ManagerError>
pub async fn simple_reporting(&self) -> Result<Vec<ReportingCall>, ManagerError>
List all dialer simple reporting calls (auto-paginated).
Auto Trait Implementations§
impl !RefUnwindSafe for DialerResource
impl !UnwindSafe for DialerResource
impl Freeze for DialerResource
impl Send for DialerResource
impl Sync for DialerResource
impl Unpin for DialerResource
impl UnsafeUnpin for DialerResource
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