pub struct SshTunnelConfig {
pub enabled: bool,
pub host: String,
pub port: u16,
pub username: String,
pub auth_method: String,
pub password: Option<String>,
pub private_key_path: Option<String>,
pub passphrase: Option<String>,
pub jump: Option<Box<SshTunnelConfig>>,
}Fields§
§enabled: bool§host: String§port: u16§username: String§auth_method: String§password: Option<String>§private_key_path: Option<String>§passphrase: Option<String>§jump: Option<Box<SshTunnelConfig>>Optional first hop (ProxyJump). Nested jump is allowed.
Trait Implementations§
Source§impl Clone for SshTunnelConfig
impl Clone for SshTunnelConfig
Source§impl Debug for SshTunnelConfig
impl Debug for SshTunnelConfig
Source§impl<'de> Deserialize<'de> for SshTunnelConfig
impl<'de> Deserialize<'de> for SshTunnelConfig
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 SshTunnelConfig
impl RefUnwindSafe for SshTunnelConfig
impl Send for SshTunnelConfig
impl Sync for SshTunnelConfig
impl Unpin for SshTunnelConfig
impl UnsafeUnpin for SshTunnelConfig
impl UnwindSafe for SshTunnelConfig
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