pub struct SftpConfig {
pub host: String,
pub port: u16,
pub username: String,
pub password: Option<String>,
pub private_key_path: Option<PathBuf>,
}Expand description
SFTP connection configuration.
Fields§
§host: String§port: u16§username: String§password: Option<String>§private_key_path: Option<PathBuf>Implementations§
Source§impl SftpConfig
impl SftpConfig
Trait Implementations§
Source§impl Clone for SftpConfig
impl Clone for SftpConfig
Source§fn clone(&self) -> SftpConfig
fn clone(&self) -> SftpConfig
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 moreAuto Trait Implementations§
impl Freeze for SftpConfig
impl RefUnwindSafe for SftpConfig
impl Send for SftpConfig
impl Sync for SftpConfig
impl Unpin for SftpConfig
impl UnsafeUnpin for SftpConfig
impl UnwindSafe for SftpConfig
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