pub struct ParsedHost {
pub hostname: String,
pub user: Option<String>,
pub port: u16,
pub tunnels: Vec<ParsedTunnel>,
}Fields§
§hostname: String§user: Option<String>§port: u16§tunnels: Vec<ParsedTunnel>Trait Implementations§
Source§impl Clone for ParsedHost
impl Clone for ParsedHost
Source§fn clone(&self) -> ParsedHost
fn clone(&self) -> ParsedHost
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedHost
impl Debug for ParsedHost
Source§impl PartialEq for ParsedHost
impl PartialEq for ParsedHost
Source§fn eq(&self, other: &ParsedHost) -> bool
fn eq(&self, other: &ParsedHost) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParsedHost
Auto Trait Implementations§
impl Freeze for ParsedHost
impl RefUnwindSafe for ParsedHost
impl Send for ParsedHost
impl Sync for ParsedHost
impl Unpin for ParsedHost
impl UnsafeUnpin for ParsedHost
impl UnwindSafe for ParsedHost
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