pub struct InboxApiClient { /* private fields */ }Available on crate feature
inbox_api only.Implementations§
Source§impl InboxApiClient
impl InboxApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl InboxApi for InboxApiClient
impl InboxApi for InboxApiClient
Source§fn approve_inbox_item_by_id<'thing_uid, 'accept_language, 'new_thing_id, 'body, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
accept_language: Option<&'accept_language str>,
new_thing_id: Option<&'new_thing_id str>,
body: Option<&'body str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<ApproveInboxItemByIdError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'accept_language: 'async_trait,
'new_thing_id: 'async_trait,
'body: 'async_trait,
'life0: 'async_trait,
fn approve_inbox_item_by_id<'thing_uid, 'accept_language, 'new_thing_id, 'body, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
accept_language: Option<&'accept_language str>,
new_thing_id: Option<&'new_thing_id str>,
body: Option<&'body str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<ApproveInboxItemByIdError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'accept_language: 'async_trait,
'new_thing_id: 'async_trait,
'body: 'async_trait,
'life0: 'async_trait,
POST /inbox/{thingUID}/approve
Source§fn flag_inbox_item_as_ignored<'thing_uid, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<FlagInboxItemAsIgnoredError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'life0: 'async_trait,
fn flag_inbox_item_as_ignored<'thing_uid, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<FlagInboxItemAsIgnoredError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'life0: 'async_trait,
POST /inbox/{thingUID}/ignore
Source§fn get_discovered_inbox_items<'include_ignored, 'life0, 'async_trait>(
&'life0 self,
include_ignored: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<DiscoveryResultDto>, Error<GetDiscoveredInboxItemsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'include_ignored: 'async_trait,
'life0: 'async_trait,
fn get_discovered_inbox_items<'include_ignored, 'life0, 'async_trait>(
&'life0 self,
include_ignored: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<DiscoveryResultDto>, Error<GetDiscoveredInboxItemsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'include_ignored: 'async_trait,
'life0: 'async_trait,
GET /inbox
Source§fn remove_ignore_flag_on_inbox_item<'thing_uid, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveIgnoreFlagOnInboxItemError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'life0: 'async_trait,
fn remove_ignore_flag_on_inbox_item<'thing_uid, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveIgnoreFlagOnInboxItemError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'life0: 'async_trait,
POST /inbox/{thingUID}/unignore
Source§fn remove_item_from_inbox<'thing_uid, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveItemFromInboxError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'life0: 'async_trait,
fn remove_item_from_inbox<'thing_uid, 'life0, 'async_trait>(
&'life0 self,
thing_uid: &'thing_uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveItemFromInboxError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'thing_uid: 'async_trait,
'life0: 'async_trait,
DELETE /inbox/{thingUID}
Auto Trait Implementations§
impl Freeze for InboxApiClient
impl !RefUnwindSafe for InboxApiClient
impl Send for InboxApiClient
impl Sync for InboxApiClient
impl Unpin for InboxApiClient
impl !UnwindSafe for InboxApiClient
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