pub struct Netrc {
pub hosts: HashMap<String, Authenticator>,
pub macros: HashMap<String, Vec<String>>,
}
Expand description
Represents the netrc file.
Fields§
§hosts: HashMap<String, Authenticator>
Dictionary mapping host names to the authentificators.
macros: HashMap<String, Vec<String>>
Dictionary mapping macro names to string lists.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Netrc
impl RefUnwindSafe for Netrc
impl Send for Netrc
impl Sync for Netrc
impl Unpin for Netrc
impl UnwindSafe for Netrc
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