Struct asuran::repository::backend::sftp::SFTPSettings [−][src]
pub struct SFTPSettings {
pub hostname: String,
pub port: Option<u16>,
pub username: String,
pub password: Option<String>,
pub path: String,
}
Expand description
Settings used for connecting to an SFTP server.
Fields
hostname: String
Hostname of the SFTP server to connect to.
port: Option<u16>
Optional port to connect to, will default to 22
username: String
Username of the user to connect as
password: Option<String>
Password to connect with
Optional, will attempt to use ssh-agent if not provided.
path: String
Path of the repository on the server
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SFTPSettings
impl Send for SFTPSettings
impl Sync for SFTPSettings
impl Unpin for SFTPSettings
impl UnwindSafe for SFTPSettings
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more