pub struct FtpConfig {
pub host: String,
pub port: u16,
pub username: String,
pub password: String,
pub passive: bool,
}Expand description
FTP connection configuration.
Fields§
§host: String§port: u16§username: String§password: String§passive: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FtpConfig
impl RefUnwindSafe for FtpConfig
impl Send for FtpConfig
impl Sync for FtpConfig
impl Unpin for FtpConfig
impl UnsafeUnpin for FtpConfig
impl UnwindSafe for FtpConfig
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