pub struct ActionHandler { /* private fields */ }
Expand description
Action handler for tracking async operations Handler for action-related operations
Implementations§
Source§impl ActionHandler
impl ActionHandler
pub fn new(client: RestClient) -> Self
Sourcepub async fn get_v2(&self, action_uid: &str) -> Result<Action>
pub async fn get_v2(&self, action_uid: &str) -> Result<Action>
Get action via v2 API - GET /v2/actions/{uid}
Sourcepub async fn list_for_bdb(&self, bdb_uid: u32) -> Result<Vec<Action>>
pub async fn list_for_bdb(&self, bdb_uid: u32) -> Result<Vec<Action>>
List actions for a database - GET /v1/actions/bdb/{uid}
pub fn v1(&self) -> ActionsV1
pub fn v2(&self) -> ActionsV2
Auto Trait Implementations§
impl Freeze for ActionHandler
impl !RefUnwindSafe for ActionHandler
impl Send for ActionHandler
impl Sync for ActionHandler
impl Unpin for ActionHandler
impl !UnwindSafe for ActionHandler
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