pub struct AzureImpersonationConfig {
pub client_id: String,
pub scope: String,
pub tenant_id: Option<String>,
}Expand description
Configuration for Azure managed identity impersonation
Fields§
§client_id: StringThe client ID of the managed identity or service principal to impersonate
scope: StringThe scope for the access token (e.g., “https://management.azure.com/.default”)
tenant_id: Option<String>Optional tenant ID for cross-tenant impersonation
Trait Implementations§
Source§impl Clone for AzureImpersonationConfig
impl Clone for AzureImpersonationConfig
Source§fn clone(&self) -> AzureImpersonationConfig
fn clone(&self) -> AzureImpersonationConfig
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 Debug for AzureImpersonationConfig
impl Debug for AzureImpersonationConfig
Source§impl Default for AzureImpersonationConfig
impl Default for AzureImpersonationConfig
Source§impl<'de> Deserialize<'de> for AzureImpersonationConfig
impl<'de> Deserialize<'de> for AzureImpersonationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AzureImpersonationConfig
impl PartialEq for AzureImpersonationConfig
Source§impl Serialize for AzureImpersonationConfig
impl Serialize for AzureImpersonationConfig
impl Eq for AzureImpersonationConfig
impl StructuralPartialEq for AzureImpersonationConfig
Auto Trait Implementations§
impl Freeze for AzureImpersonationConfig
impl RefUnwindSafe for AzureImpersonationConfig
impl Send for AzureImpersonationConfig
impl Sync for AzureImpersonationConfig
impl Unpin for AzureImpersonationConfig
impl UnsafeUnpin for AzureImpersonationConfig
impl UnwindSafe for AzureImpersonationConfig
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.