pub enum AuthType {
ConnectionString,
AzureAd,
}Expand description
Authentication method types supported by the application.
This enum defines the different ways the application can authenticate with Azure Service Bus resources.
Variants§
ConnectionString
Direct connection using Service Bus connection string
AzureAd
Azure Active Directory authentication (Device Code or Client Credentials)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthType
impl<'de> Deserialize<'de> for AuthType
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 StructuralPartialEq for AuthType
Auto Trait Implementations§
impl Freeze for AuthType
impl RefUnwindSafe for AuthType
impl Send for AuthType
impl Sync for AuthType
impl Unpin for AuthType
impl UnwindSafe for AuthType
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