pub struct SshProxyConfig {Show 13 fields
pub allowed_host_key_fingerprints: Option<Vec<String>>,
pub ciphers: Option<Vec<SshCipher>>,
pub client_version: Option<String>,
pub host_key_algos: Option<Vec<SshKeyAlgo>>,
pub kex: Option<Vec<SshKex>>,
pub macs: Option<Vec<Sshmac>>,
pub password: Option<String>,
pub port: Option<i32>,
pub private_key: Option<String>,
pub server: Option<String>,
pub timeout: Option<i64>,
pub username: Option<String>,
pub username_pass_through: Option<bool>,
}Fields§
§allowed_host_key_fingerprints: Option<Vec<String>>§ciphers: Option<Vec<SshCipher>>SSHCipherList is a list of supported ciphers
client_version: Option<String>§host_key_algos: Option<Vec<SshKeyAlgo>>§kex: Option<Vec<SshKex>>§macs: Option<Vec<Sshmac>>SSHMACList is a list of SSHMAC algorithms
password: Option<String>Password is the password to offer to the backing SSH server for authentication.
port: Option<i32>Port is the TCP port to connect to.
private_key: Option<String>PrivateKey is the private key to use for authenticating with the backing server.
server: Option<String>Server is the IP address or hostname of the backing server.
timeout: Option<i64>A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
username: Option<String>Username is the username to pass to the backing SSH server for authentication.
username_pass_through: Option<bool>UsernamePassThrough means that the username should be taken from the connecting client.
Implementations§
Source§impl SshProxyConfig
impl SshProxyConfig
pub fn new() -> SshProxyConfig
Trait Implementations§
Source§impl Clone for SshProxyConfig
impl Clone for SshProxyConfig
Source§fn clone(&self) -> SshProxyConfig
fn clone(&self) -> SshProxyConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SshProxyConfig
impl Debug for SshProxyConfig
Source§impl<'de> Deserialize<'de> for SshProxyConfig
impl<'de> Deserialize<'de> for SshProxyConfig
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>,
Source§impl FromStr for SshProxyConfig
Converts Query Parameters representation (style=form, explode=false) to a SshProxyConfig value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for SshProxyConfig
Converts Query Parameters representation (style=form, explode=false) to a SshProxyConfig value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for SshProxyConfig
impl PartialEq for SshProxyConfig
Source§impl Serialize for SshProxyConfig
impl Serialize for SshProxyConfig
Source§impl ToString for SshProxyConfig
Converts the SshProxyConfig value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for SshProxyConfig
Converts the SshProxyConfig value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer