pub struct ActionsApiClient { /* private fields */ }Available on crate feature
actions_api only.Implementations§
Source§impl ActionsApiClient
impl ActionsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl ActionsApi for ActionsApiClient
impl ActionsApi for ActionsApiClient
Source§fn execute_thing_action<'thing_uid, 'action_uid, 'accept_language, 'request_body, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
action_uid: &'action_uid str,
accept_language: Option<&'accept_language str>,
request_body: Option<HashMap<String, Value>>,
) -> Pin<Box<dyn Future<Output = Result<String, Error<ExecuteThingActionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'action_uid: 'async_trait,
'accept_language: 'async_trait,
'request_body: 'async_trait,
'life0: 'async_trait,
fn execute_thing_action<'thing_uid, 'action_uid, 'accept_language, 'request_body, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
action_uid: &'action_uid str,
accept_language: Option<&'accept_language str>,
request_body: Option<HashMap<String, Value>>,
) -> Pin<Box<dyn Future<Output = Result<String, Error<ExecuteThingActionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'action_uid: 'async_trait,
'accept_language: 'async_trait,
'request_body: 'async_trait,
'life0: 'async_trait,
POST /actions/{thingUID}/{actionUid}
Source§fn get_available_actions_for_thing<'thing_uid, 'accept_language, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<ThingActionDto>, Error<GetAvailableActionsForThingError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
fn get_available_actions_for_thing<'thing_uid, 'accept_language, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
accept_language: Option<&'accept_language str>,
) -> Pin<Box<dyn Future<Output = Result<Vec<ThingActionDto>, Error<GetAvailableActionsForThingError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'accept_language: 'async_trait,
'life0: 'async_trait,
GET /actions/{thingUID}
Auto Trait Implementations§
impl Freeze for ActionsApiClient
impl !RefUnwindSafe for ActionsApiClient
impl Send for ActionsApiClient
impl Sync for ActionsApiClient
impl Unpin for ActionsApiClient
impl !UnwindSafe for ActionsApiClient
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