pub struct ManagedIdentityCredentialOptions {
pub user_assigned_id: Option<UserAssignedId>,
pub client_options: ClientOptions,
}Available on crate feature
entra-id only.Expand description
Options for constructing a new ManagedIdentityCredential.
Fields§
§user_assigned_id: Option<UserAssignedId>Specifies a user-assigned identity the credential should authenticate.
When None, the credential will authenticate a system-assigned identity, if any.
client_options: ClientOptionsThe ClientOptions to use for the credential’s pipeline.
Trait Implementations§
Source§impl Clone for ManagedIdentityCredentialOptions
impl Clone for ManagedIdentityCredentialOptions
Source§fn clone(&self) -> ManagedIdentityCredentialOptions
fn clone(&self) -> ManagedIdentityCredentialOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ManagedIdentityCredentialOptions
impl Default for ManagedIdentityCredentialOptions
Source§fn default() -> ManagedIdentityCredentialOptions
fn default() -> ManagedIdentityCredentialOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ManagedIdentityCredentialOptions
impl !RefUnwindSafe for ManagedIdentityCredentialOptions
impl Send for ManagedIdentityCredentialOptions
impl Sync for ManagedIdentityCredentialOptions
impl Unpin for ManagedIdentityCredentialOptions
impl UnsafeUnpin for ManagedIdentityCredentialOptions
impl !UnwindSafe for ManagedIdentityCredentialOptions
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