#[non_exhaustive]pub struct Services {
pub ssh: Option<SshService>,
pub telnet: bool,
pub ftp: bool,
pub netconf_ssh: bool,
pub http: bool,
pub https: bool,
pub outbound_ssh: Vec<OutboundSshClient>,
pub web_management: Option<WebManagement>,
pub netconf: Option<Netconf>,
pub xnm_clear_text: Option<XnmClearText>,
pub xnm_ssl: Option<XnmSsl>,
}Expand description
The system services configuration. Services other than those listed are not extracted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ssh: Option<SshService>§telnet: bool§ftp: bool§netconf_ssh: boolnetconf { ssh; }.
http: boolweb-management { http; }.
https: boolweb-management { https; }.
outbound_ssh: Vec<OutboundSshClient>§web_management: Option<WebManagement>The details behind http and https.
netconf: Option<Netconf>The details behind netconf_ssh.
xnm_clear_text: Option<XnmClearText>§xnm_ssl: Option<XnmSsl>Trait Implementations§
impl Eq for Services
impl StructuralPartialEq for Services
Auto Trait Implementations§
impl Forget for Services
impl Freeze for Services
impl Move for Services
impl RefUnwindSafe for Services
impl Send for Services
impl Sync for Services
impl Unpin for Services
impl UnsafeUnpin for Services
impl UnwindSafe for Services
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