pub struct ThemesServiceAsyncClient<T>(/* private fields */);
Expand description
Themes service manages themes for exporting charts.
Implementations§
Source§impl<T> ThemesServiceAsyncClient<T>where
T: AsyncClient,
impl<T> ThemesServiceAsyncClient<T>where
T: AsyncClient,
Sourcepub async fn list_chart_themes(
&self,
auth_: &BearerToken,
workspaces: &BTreeSet<WorkspaceRid>,
) -> Result<Vec<ChartTheme>, Error>
pub async fn list_chart_themes( &self, auth_: &BearerToken, workspaces: &BTreeSet<WorkspaceRid>, ) -> Result<Vec<ChartTheme>, Error>
Get all chart themes saved to the requested workspaces.
Sourcepub async fn get_chart_theme(
&self,
auth_: &BearerToken,
chart_theme_rid: &ChartThemeRid,
) -> Result<ChartTheme, Error>
pub async fn get_chart_theme( &self, auth_: &BearerToken, chart_theme_rid: &ChartThemeRid, ) -> Result<ChartTheme, Error>
Get a specific chart theme by RID.
Sourcepub async fn create_chart_theme(
&self,
auth_: &BearerToken,
request: &CreateChartThemeRequest,
) -> Result<ChartTheme, Error>
pub async fn create_chart_theme( &self, auth_: &BearerToken, request: &CreateChartThemeRequest, ) -> Result<ChartTheme, Error>
Create a new chart theme.
Sourcepub async fn update_chart_theme(
&self,
auth_: &BearerToken,
chart_theme_rid: &ChartThemeRid,
request: &UpdateChartThemeRequest,
) -> Result<ChartTheme, Error>
pub async fn update_chart_theme( &self, auth_: &BearerToken, chart_theme_rid: &ChartThemeRid, request: &UpdateChartThemeRequest, ) -> Result<ChartTheme, Error>
Update an existing chart theme.
Sourcepub async fn delete_chart_theme(
&self,
auth_: &BearerToken,
chart_theme_rid: &ChartThemeRid,
) -> Result<(), Error>
pub async fn delete_chart_theme( &self, auth_: &BearerToken, chart_theme_rid: &ChartThemeRid, ) -> Result<(), Error>
Delete an existing comment.
Trait Implementations§
Source§impl<T> AsyncService<T> for ThemesServiceAsyncClient<T>where
T: AsyncClient,
impl<T> AsyncService<T> for ThemesServiceAsyncClient<T>where
T: AsyncClient,
Source§impl<T: Clone> Clone for ThemesServiceAsyncClient<T>
impl<T: Clone> Clone for ThemesServiceAsyncClient<T>
Source§fn clone(&self) -> ThemesServiceAsyncClient<T>
fn clone(&self) -> ThemesServiceAsyncClient<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for ThemesServiceAsyncClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for ThemesServiceAsyncClient<T>where
T: RefUnwindSafe,
impl<T> Send for ThemesServiceAsyncClient<T>where
T: Send,
impl<T> Sync for ThemesServiceAsyncClient<T>where
T: Sync,
impl<T> Unpin for ThemesServiceAsyncClient<T>where
T: Unpin,
impl<T> UnwindSafe for ThemesServiceAsyncClient<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request