pub struct ChannelMetadataServiceAsyncClient<T>(/* private fields */);
Expand description
Endpoints for retrieving and updating channel metadata.
Implementations§
Source§impl<T> ChannelMetadataServiceAsyncClient<T>where
T: AsyncClient,
impl<T> ChannelMetadataServiceAsyncClient<T>where
T: AsyncClient,
Sourcepub async fn get_channel_metadata(
&self,
auth_: &BearerToken,
request: &GetChannelMetadataRequest,
) -> Result<ChannelMetadata, Error>
pub async fn get_channel_metadata( &self, auth_: &BearerToken, request: &GetChannelMetadataRequest, ) -> Result<ChannelMetadata, Error>
Get the metadata for a channel.
Sourcepub async fn batch_get_channel_metadata(
&self,
auth_: &BearerToken,
request: &BatchGetChannelMetadataRequest,
) -> Result<BatchGetChannelMetadataResponse, Error>
pub async fn batch_get_channel_metadata( &self, auth_: &BearerToken, request: &BatchGetChannelMetadataRequest, ) -> Result<BatchGetChannelMetadataResponse, Error>
Batch get the metadata for multiple channels. If some channels cannot be found or authorized, they will be omitted from the response.
Sourcepub async fn update_channel_metadata(
&self,
auth_: &BearerToken,
request: &UpdateChannelMetadataRequest,
) -> Result<ChannelMetadata, Error>
pub async fn update_channel_metadata( &self, auth_: &BearerToken, request: &UpdateChannelMetadataRequest, ) -> Result<ChannelMetadata, Error>
Update the metadata for a channel.
Sourcepub async fn batch_update_channel_metadata(
&self,
auth_: &BearerToken,
request: &BatchUpdateChannelMetadataRequest,
) -> Result<BatchUpdateChannelMetadataResponse, Error>
pub async fn batch_update_channel_metadata( &self, auth_: &BearerToken, request: &BatchUpdateChannelMetadataRequest, ) -> Result<BatchUpdateChannelMetadataResponse, Error>
Batch update the metadata for multiple channels. If some channels cannot be found or authorized, no metadata will be updated for any of the channels in the request.
Trait Implementations§
Source§impl<T> AsyncService<T> for ChannelMetadataServiceAsyncClient<T>where
T: AsyncClient,
impl<T> AsyncService<T> for ChannelMetadataServiceAsyncClient<T>where
T: AsyncClient,
Source§impl<T: Clone> Clone for ChannelMetadataServiceAsyncClient<T>
impl<T: Clone> Clone for ChannelMetadataServiceAsyncClient<T>
Source§fn clone(&self) -> ChannelMetadataServiceAsyncClient<T>
fn clone(&self) -> ChannelMetadataServiceAsyncClient<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 ChannelMetadataServiceAsyncClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for ChannelMetadataServiceAsyncClient<T>where
T: RefUnwindSafe,
impl<T> Send for ChannelMetadataServiceAsyncClient<T>where
T: Send,
impl<T> Sync for ChannelMetadataServiceAsyncClient<T>where
T: Sync,
impl<T> Unpin for ChannelMetadataServiceAsyncClient<T>where
T: Unpin,
impl<T> UnwindSafe for ChannelMetadataServiceAsyncClient<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