pub struct CredentialClient { /* private fields */ }Expand description
A client scoped to a single credential.
Implementations§
Source§impl CredentialClient
impl CredentialClient
Sourcepub fn new(
credential_name: impl Into<String>,
client: CredentialServiceClient,
) -> Self
pub fn new( credential_name: impl Into<String>, client: CredentialServiceClient, ) -> Self
Create a client bound to the resource’s name components.
pub fn get(&self) -> GetCredentialBuilder
pub fn update(&self) -> UpdateCredentialBuilder
pub fn delete(&self) -> DeleteCredentialBuilder
Trait Implementations§
Source§impl Clone for CredentialClient
impl Clone for CredentialClient
Source§fn clone(&self) -> CredentialClient
fn clone(&self) -> CredentialClient
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 CredentialClient
impl !UnwindSafe for CredentialClient
impl Freeze for CredentialClient
impl Send for CredentialClient
impl Sync for CredentialClient
impl Unpin for CredentialClient
impl UnsafeUnpin for CredentialClient
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