pub struct SshConfig {
pub destination: Option<String>,
pub options: Vec<String>,
pub local_host: Option<String>,
pub local_port: Option<u16>,
pub remote_socket: Option<String>,
pub sudo_user: Option<String>,
}Fields§
§destination: Option<String>§options: Vec<String>§local_host: Option<String>§local_port: Option<u16>§remote_socket: Option<String>§sudo_user: Option<String>Implementations§
Source§impl SshConfig
impl SshConfig
pub fn has_transport_fields(&self) -> bool
pub fn has_tunnel_or_bridge_options(&self) -> bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SshConfig
impl<'de> Deserialize<'de> for SshConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SshConfig
impl RefUnwindSafe for SshConfig
impl Send for SshConfig
impl Sync for SshConfig
impl Unpin for SshConfig
impl UnsafeUnpin for SshConfig
impl UnwindSafe for SshConfig
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