pub struct CredentialParams {
pub name: String,
pub scope: String,
pub required: bool,
}Expand description
One semantic provider credential requested while an endpoint is initializing or refreshing its authentication (0.21+).
scope is a stable, credential-free account or store identity chosen
by the provider from its configured URI. The client binds it to the
already selected provider principal before consulting its credential
broker, so it cannot address another provider’s credentials.
Fields§
§name: String§scope: String§required: boolImplementations§
Trait Implementations§
Source§impl Clone for CredentialParams
impl Clone for CredentialParams
Source§impl Debug for CredentialParams
impl Debug for CredentialParams
Source§impl<'de> Deserialize<'de> for CredentialParams
impl<'de> Deserialize<'de> for CredentialParams
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
impl Eq for CredentialParams
Source§impl PartialEq for CredentialParams
impl PartialEq for CredentialParams
Source§impl Serialize for CredentialParams
impl Serialize for CredentialParams
impl StructuralPartialEq for CredentialParams
Auto Trait Implementations§
impl Freeze for CredentialParams
impl RefUnwindSafe for CredentialParams
impl Send for CredentialParams
impl Sync for CredentialParams
impl Unpin for CredentialParams
impl UnsafeUnpin for CredentialParams
impl UnwindSafe for CredentialParams
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