pub struct AuthToken {
pub token: String,
pub token_type: String,
pub expires_in_secs: Option<u64>,
}Expand description
Authentication token containing access credentials for Azure Service Bus.
This struct represents an authentication token obtained from Azure AD that can be used to authenticate with Azure Service Bus resources.
Fields§
§token: StringThe actual authentication token string
token_type: StringThe type of token (e.g., “Bearer”)
expires_in_secs: Option<u64>Optional expiration time in seconds from when the token was issued
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthToken
impl RefUnwindSafe for AuthToken
impl Send for AuthToken
impl Sync for AuthToken
impl Unpin for AuthToken
impl UnwindSafe for AuthToken
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