pub struct Machine {
pub name: Option<String>,
pub login: Option<String>,
pub password: Option<String>,
pub account: Option<String>,
}
Expand description
The .netrc
machine info
Fields§
§name: Option<String>
Identify a remote machine name, None is default
login: Option<String>
Identify a user on the remote machine
password: Option<String>
a password
account: Option<String>
an additional account password
Trait Implementations§
impl Eq for Machine
impl StructuralPartialEq for Machine
Auto Trait Implementations§
impl Freeze for Machine
impl RefUnwindSafe for Machine
impl Send for Machine
impl Sync for Machine
impl Unpin for Machine
impl UnwindSafe for Machine
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