pub struct Address {
pub hostname: String,
pub port: u16,
pub alias: String,
}Expand description
The remote as reachable from the local machine.
Fields§
§hostname: String§port: u16§alias: StringThe destination as written in the config (an alias or user@host).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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