pub struct Ftp {
pub enabled: bool,
pub port: Option<u16>,
pub tls_only: Option<bool>,
}Expand description
Access to the storage of the device by FTP from the internet.
Fields§
§enabled: bool§port: Option<u16>§tls_only: Option<bool>Whether only connections with TLS are allowed.
Trait Implementations§
impl Eq for Ftp
impl StructuralPartialEq for Ftp
Auto Trait Implementations§
impl Forget for Ftp
impl Freeze for Ftp
impl Move for Ftp
impl RefUnwindSafe for Ftp
impl Send for Ftp
impl Sync for Ftp
impl Unpin for Ftp
impl UnsafeUnpin for Ftp
impl UnwindSafe for Ftp
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