pub struct TransferSshOptions {
pub host: String,
pub port: u16,
pub user: String,
pub key_path: Option<PathBuf>,
pub host_key_checking: HostKeyCheckMode,
pub known_hosts: Option<PathBuf>,
}Fields§
§host: String§port: u16§user: String§key_path: Option<PathBuf>§host_key_checking: HostKeyCheckMode§known_hosts: Option<PathBuf>Trait Implementations§
Source§impl Clone for TransferSshOptions
impl Clone for TransferSshOptions
Source§fn clone(&self) -> TransferSshOptions
fn clone(&self) -> TransferSshOptions
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 TransferSshOptions
impl RefUnwindSafe for TransferSshOptions
impl Send for TransferSshOptions
impl Sync for TransferSshOptions
impl Unpin for TransferSshOptions
impl UnsafeUnpin for TransferSshOptions
impl UnwindSafe for TransferSshOptions
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