#[non_exhaustive]pub struct Services {Show 31 fields
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>,
pub subscriber_management: Option<SubscriberManagement>,
pub static_subscribers: Option<StaticSubscribers>,
pub dhcp_local_server: Option<DhcpLocalServer>,
pub local_policy_decision_function: Option<LocalPolicyDecisionFunction>,
pub flow_tap_dtcp: Option<FlowTapDtcp>,
pub service_deployment: Option<ServiceDeployment>,
pub telnet_service: Option<TelnetService>,
pub ftp_service: Option<FtpService>,
pub finger: Option<ConnectionLimits>,
pub tftp_server: Option<ConnectionLimits>,
pub reverse: Option<Reverse>,
pub rest: Option<Rest>,
pub http_servers: Vec<HttpServer>,
pub extension_service: Option<ExtensionService>,
pub jeb: Option<Jeb>,
pub inband_ztp: Option<InbandZtp>,
pub outbound_https: Vec<OutboundHttpsClient>,
pub outbound_ssh_traceoptions: Option<Traceoptions>,
pub resource_monitor: Option<ResourceMonitor>,
pub dns: Option<Dns>,
}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>§subscriber_management: Option<SubscriberManagement>§static_subscribers: Option<StaticSubscribers>§dhcp_local_server: Option<DhcpLocalServer>§local_policy_decision_function: Option<LocalPolicyDecisionFunction>§flow_tap_dtcp: Option<FlowTapDtcp>§service_deployment: Option<ServiceDeployment>§telnet_service: Option<TelnetService>§ftp_service: Option<FtpService>§finger: Option<ConnectionLimits>§tftp_server: Option<ConnectionLimits>§reverse: Option<Reverse>§rest: Option<Rest>§http_servers: Vec<HttpServer>The servers of http { servers { ... } }.
extension_service: Option<ExtensionService>§jeb: Option<Jeb>§inband_ztp: Option<InbandZtp>§outbound_https: Vec<OutboundHttpsClient>§outbound_ssh_traceoptions: Option<Traceoptions>The traceoptions of outbound-ssh.
resource_monitor: Option<ResourceMonitor>§dns: Option<Dns>Trait Implementations§
impl Eq for Services
impl StructuralPartialEq for Services
Auto Trait Implementations§
impl Forget for Services
impl Freeze for Serviceswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<OutboundSshClient>: Freeze,
PhantomData<WebManagementVirtualDomain>: Freeze,
PhantomData<NetconfClientIdentity>: Freeze,
PhantomData<TraceFlag>: Freeze,
PhantomData<RedundancyInterface>: Freeze,
PhantomData<StaticSubscriberGroup>: Freeze,
PhantomData<DhcpLocalServerGroup>: Freeze,
PhantomData<AaclStatisticsProfile>: Freeze,
PhantomData<ServiceDeploymentServer>: Freeze,
PhantomData<HttpServer>: Freeze,
PhantomData<OutboundHttpsClient>: Freeze,
PhantomData<JtreeResourceType>: Freeze,
PhantomData<SubscriberLimit>: Freeze,
PhantomData<DnsCacheEntry>: Freeze,
PhantomData<DnsDomain>: Freeze,
PhantomData<DnsView>: Freeze,
impl Move for Services
impl RefUnwindSafe for Services
impl Send for Serviceswhere
RawVecInner: Send,
impl Sync for Serviceswhere
RawVecInner: Sync,
impl Unpin for Services
impl UnsafeUnpin for Serviceswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<OutboundSshClient>: UnsafeUnpin,
PhantomData<WebManagementVirtualDomain>: UnsafeUnpin,
PhantomData<NetconfClientIdentity>: UnsafeUnpin,
PhantomData<TraceFlag>: UnsafeUnpin,
PhantomData<RedundancyInterface>: UnsafeUnpin,
PhantomData<StaticSubscriberGroup>: UnsafeUnpin,
PhantomData<DhcpLocalServerGroup>: UnsafeUnpin,
PhantomData<AaclStatisticsProfile>: UnsafeUnpin,
PhantomData<ServiceDeploymentServer>: UnsafeUnpin,
PhantomData<HttpServer>: UnsafeUnpin,
PhantomData<OutboundHttpsClient>: UnsafeUnpin,
PhantomData<JtreeResourceType>: UnsafeUnpin,
PhantomData<SubscriberLimit>: UnsafeUnpin,
PhantomData<DnsCacheEntry>: UnsafeUnpin,
PhantomData<DnsDomain>: UnsafeUnpin,
PhantomData<DnsView>: UnsafeUnpin,
impl UnwindSafe for Serviceswhere
RawVecInner: UnwindSafe,
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