pub struct UiApiClient { /* private fields */ }Available on crate feature
ui_api only.Implementations§
Source§impl UiApiClient
impl UiApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl UiApi for UiApiClient
impl UiApi for UiApiClient
Source§fn add_ui_component_to_namespace<'namespace, 'root_ui_component, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
root_ui_component: Option<RootUiComponent>,
) -> Pin<Box<dyn Future<Output = Result<RootUiComponent, Error<AddUiComponentToNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'root_ui_component: 'async_trait,
'life0: 'async_trait,
fn add_ui_component_to_namespace<'namespace, 'root_ui_component, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
root_ui_component: Option<RootUiComponent>,
) -> Pin<Box<dyn Future<Output = Result<RootUiComponent, Error<AddUiComponentToNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'root_ui_component: 'async_trait,
'life0: 'async_trait,
POST /ui/components/{namespace}
Source§fn get_registered_ui_components_in_namespace<'namespace, 'summary, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
summary: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<RootUiComponent>, Error<GetRegisteredUiComponentsInNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'summary: 'async_trait,
'life0: 'async_trait,
fn get_registered_ui_components_in_namespace<'namespace, 'summary, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
summary: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<Vec<RootUiComponent>, Error<GetRegisteredUiComponentsInNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'summary: 'async_trait,
'life0: 'async_trait,
GET /ui/components/{namespace}
Source§fn get_ui_component_in_namespace<'namespace, 'component_uid, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
component_uid: &'component_uid str,
) -> Pin<Box<dyn Future<Output = Result<RootUiComponent, Error<GetUiComponentInNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'component_uid: 'async_trait,
'life0: 'async_trait,
fn get_ui_component_in_namespace<'namespace, 'component_uid, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
component_uid: &'component_uid str,
) -> Pin<Box<dyn Future<Output = Result<RootUiComponent, Error<GetUiComponentInNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'component_uid: 'async_trait,
'life0: 'async_trait,
GET /ui/components/{namespace}/{componentUID}
Source§fn get_ui_tiles<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TileDto>, Error<GetUiTilesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_ui_tiles<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TileDto>, Error<GetUiTilesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /ui/tiles
Source§fn remove_ui_component_from_namespace<'namespace, 'component_uid, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
component_uid: &'component_uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveUiComponentFromNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'component_uid: 'async_trait,
'life0: 'async_trait,
fn remove_ui_component_from_namespace<'namespace, 'component_uid, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
component_uid: &'component_uid str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveUiComponentFromNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'component_uid: 'async_trait,
'life0: 'async_trait,
DELETE /ui/components/{namespace}/{componentUID}
Source§fn update_ui_component_in_namespace<'namespace, 'component_uid, 'root_ui_component, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
component_uid: &'component_uid str,
root_ui_component: Option<RootUiComponent>,
) -> Pin<Box<dyn Future<Output = Result<RootUiComponent, Error<UpdateUiComponentInNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'component_uid: 'async_trait,
'root_ui_component: 'async_trait,
'life0: 'async_trait,
fn update_ui_component_in_namespace<'namespace, 'component_uid, 'root_ui_component, 'life0, 'async_trait>(
&'life0 self,
namespace: &'namespace str,
component_uid: &'component_uid str,
root_ui_component: Option<RootUiComponent>,
) -> Pin<Box<dyn Future<Output = Result<RootUiComponent, Error<UpdateUiComponentInNamespaceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'namespace: 'async_trait,
'component_uid: 'async_trait,
'root_ui_component: 'async_trait,
'life0: 'async_trait,
PUT /ui/components/{namespace}/{componentUID}
Auto Trait Implementations§
impl Freeze for UiApiClient
impl !RefUnwindSafe for UiApiClient
impl Send for UiApiClient
impl Sync for UiApiClient
impl Unpin for UiApiClient
impl !UnwindSafe for UiApiClient
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