pub struct RecipientClient { /* private fields */ }Expand description
A client scoped to a single recipient.
Implementations§
Source§impl RecipientClient
impl RecipientClient
Sourcepub fn new(
recipient_name: impl Into<String>,
client: RecipientServiceClient,
) -> Self
pub fn new( recipient_name: impl Into<String>, client: RecipientServiceClient, ) -> Self
Create a client bound to the resource’s name components.
Sourcepub fn get(&self) -> GetRecipientBuilder
pub fn get(&self) -> GetRecipientBuilder
Get a recipient by name.
Sourcepub fn update(&self) -> UpdateRecipientBuilder
pub fn update(&self) -> UpdateRecipientBuilder
Update a recipient.
Sourcepub fn delete(&self) -> DeleteRecipientBuilder
pub fn delete(&self) -> DeleteRecipientBuilder
Delete a recipient.
Trait Implementations§
Source§impl Clone for RecipientClient
impl Clone for RecipientClient
Source§fn clone(&self) -> RecipientClient
fn clone(&self) -> RecipientClient
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 RecipientClient
impl !UnwindSafe for RecipientClient
impl Freeze for RecipientClient
impl Send for RecipientClient
impl Sync for RecipientClient
impl Unpin for RecipientClient
impl UnsafeUnpin for RecipientClient
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