pub struct InstancePrincipalConfig {
pub region: String,
pub tenancy_id: String,
pub realm_domain_component: String,
pub metadata_base_url: String,
pub refresh_window: Duration,
pub auth_scheme: String,
pub auth_host_override: Option<String>,
}Fields§
§region: String§tenancy_id: String§realm_domain_component: String§metadata_base_url: String§refresh_window: Duration§auth_scheme: String§auth_host_override: Option<String>Implementations§
Source§impl InstancePrincipalConfig
impl InstancePrincipalConfig
pub fn new(region: impl Into<String>, tenancy_id: impl Into<String>) -> Self
pub fn metadata_base_url(self, metadata_base_url: impl Into<String>) -> Self
pub fn realm_domain_component( self, realm_domain_component: impl Into<String>, ) -> Self
pub fn refresh_window(self, refresh_window: Duration) -> Self
pub fn auth_scheme(self, auth_scheme: impl Into<String>) -> Self
pub fn auth_host_override(self, auth_host_override: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for InstancePrincipalConfig
impl Clone for InstancePrincipalConfig
Source§fn clone(&self) -> InstancePrincipalConfig
fn clone(&self) -> InstancePrincipalConfig
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 Freeze for InstancePrincipalConfig
impl RefUnwindSafe for InstancePrincipalConfig
impl Send for InstancePrincipalConfig
impl Sync for InstancePrincipalConfig
impl Unpin for InstancePrincipalConfig
impl UnsafeUnpin for InstancePrincipalConfig
impl UnwindSafe for InstancePrincipalConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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