pub struct RecipientServiceClient { /* private fields */ }Expand description
HTTP client for service operations
Implementations§
Source§impl RecipientServiceClient
impl RecipientServiceClient
Sourcepub async fn list_recipients(
&self,
request: &ListRecipientsRequest,
) -> Result<ListRecipientsResponse>
pub async fn list_recipients( &self, request: &ListRecipientsRequest, ) -> Result<ListRecipientsResponse>
List recipients.
Sourcepub async fn create_recipient(
&self,
request: &CreateRecipientRequest,
) -> Result<Recipient>
pub async fn create_recipient( &self, request: &CreateRecipientRequest, ) -> Result<Recipient>
Create a new recipient.
Sourcepub async fn get_recipient(
&self,
request: &GetRecipientRequest,
) -> Result<Recipient>
pub async fn get_recipient( &self, request: &GetRecipientRequest, ) -> Result<Recipient>
Get a recipient by name.
Sourcepub async fn update_recipient(
&self,
request: &UpdateRecipientRequest,
) -> Result<Recipient>
pub async fn update_recipient( &self, request: &UpdateRecipientRequest, ) -> Result<Recipient>
Update a recipient.
Sourcepub async fn delete_recipient(
&self,
request: &DeleteRecipientRequest,
) -> Result<()>
pub async fn delete_recipient( &self, request: &DeleteRecipientRequest, ) -> Result<()>
Delete a recipient.
Trait Implementations§
Source§impl Clone for RecipientServiceClient
impl Clone for RecipientServiceClient
Source§fn clone(&self) -> RecipientServiceClient
fn clone(&self) -> RecipientServiceClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RecipientServiceClient
impl !UnwindSafe for RecipientServiceClient
impl Freeze for RecipientServiceClient
impl Send for RecipientServiceClient
impl Sync for RecipientServiceClient
impl Unpin for RecipientServiceClient
impl UnsafeUnpin for RecipientServiceClient
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