[][src]Struct netrc_rs::Machine

pub struct Machine {
    pub name: Option<String>,
    pub login: Option<String>,
    pub password: Option<String>,
    pub account: Option<String>,
}

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 Clone for Machine[src]

impl Debug for Machine[src]

impl Default for Machine[src]

impl Display for Machine[src]

impl Eq for Machine[src]

impl PartialEq<Machine> for Machine[src]

impl StructuralEq for Machine[src]

impl StructuralPartialEq for Machine[src]

Auto Trait Implementations

impl RefUnwindSafe for Machine

impl Send for Machine

impl Sync for Machine

impl Unpin for Machine

impl UnwindSafe for Machine

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.