pub struct ResolvedCredentials {
pub username: Option<String>,
pub password: Option<String>,
pub token: Option<String>,
}Expand description
Resolved credentials with environment variables expanded
Fields§
§username: Option<String>§password: Option<String>§token: Option<String>Implementations§
Source§impl ResolvedCredentials
impl ResolvedCredentials
Sourcepub fn has_credentials(&self) -> bool
pub fn has_credentials(&self) -> bool
Check if any credentials are available
Trait Implementations§
Source§impl Clone for ResolvedCredentials
impl Clone for ResolvedCredentials
Source§fn clone(&self) -> ResolvedCredentials
fn clone(&self) -> ResolvedCredentials
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 moreAuto Trait Implementations§
impl Freeze for ResolvedCredentials
impl RefUnwindSafe for ResolvedCredentials
impl Send for ResolvedCredentials
impl Sync for ResolvedCredentials
impl Unpin for ResolvedCredentials
impl UnwindSafe for ResolvedCredentials
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