pub struct AioClient { /* private fields */ }Implementations§
Source§impl AioClient
impl AioClient
pub fn new(base_url: impl Into<String>) -> Self
pub fn with_desktop_token( base_url: impl Into<String>, desktop_token: impl Into<String>, ) -> Self
pub fn base_url(&self) -> &str
pub fn desktop_status(&self) -> AioClientResult<DesktopBackendStatus>
pub fn list_shell_components(&self) -> AioClientResult<ShellComponentRegistry>
pub fn get_shell_component( &self, name: &str, ) -> AioClientResult<Option<ShellComponent>>
pub fn upsert_shell_component( &self, input: &ShellComponentUpsert, ) -> AioClientResult<ShellComponent>
pub fn patch_shell_component( &self, input: &ShellComponentPatch, ) -> AioClientResult<ShellComponent>
pub fn remove_shell_component( &self, input: &ShellComponentRemove, ) -> AioClientResult<ShellComponent>
pub fn save_shell_component_config( &self, input: &ShellComponentConfigUpdate, ) -> AioClientResult<ShellComponentRegistry>
pub fn build_shell_components( &self, input: &ShellComponentBuildRequest, ) -> AioClientResult<ShellComponentBuildResult>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AioClient
impl !RefUnwindSafe for AioClient
impl Send for AioClient
impl Sync for AioClient
impl Unpin for AioClient
impl UnsafeUnpin for AioClient
impl !UnwindSafe for AioClient
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