pub struct AuthFile {
pub profiles: HashMap<String, HashMap<String, ProviderAuth>>,
}Expand description
Structure of the auth.toml file
Fields§
§profiles: HashMap<String, HashMap<String, ProviderAuth>>Profile-scoped credentials: profile_name -> provider_name -> auth
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthFile
impl<'de> Deserialize<'de> for AuthFile
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
Auto Trait Implementations§
impl Freeze for AuthFile
impl RefUnwindSafe for AuthFile
impl Send for AuthFile
impl Sync for AuthFile
impl Unpin for AuthFile
impl UnwindSafe for AuthFile
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