pub struct Exposure {
pub items: Vec<Item>,
pub remote_access: Option<RemoteAccess>,
pub myfritz: Option<MyFritz>,
pub dynamic_dns: Option<DynamicDns>,
pub port_forwardings: Option<Vec<Forwarding>>,
pub exposed_host: Option<bool>,
pub upnp: Option<bool>,
pub ftp: Option<Ftp>,
pub shared_links: Option<Vec<Link>>,
pub vpn: Option<Vec<Vpn>>,
pub tr069: Option<Tr069>,
pub usp: Option<Usp>,
}Expand description
Fields§
§items: Vec<Item>One item per Kind, in order, with its state and severity.
remote_access: Option<RemoteAccess>§myfritz: Option<MyFritz>§dynamic_dns: Option<DynamicDns>§port_forwardings: Option<Vec<Forwarding>>The port forwardings, enabled or not.
exposed_host: Option<bool>Whether all ports of one host are open to the internet.
upnp: Option<bool>Whether hosts may open ports themselves through UPnP.
ftp: Option<Ftp>§vpn: Option<Vec<Vpn>>§tr069: Option<Tr069>§usp: Option<Usp>Implementations§
Source§impl Exposure
impl Exposure
Sourcepub fn without_identifying(self, hidden: &str) -> Self
pub fn without_identifying(self, hidden: &str) -> Self
Replaces the values that identify the owner, like the MyFRITZ
address, domains, names, shared paths, hosts and the addresses a
forwarding is limited to, with hidden, for output that must not
identify them.
Sourcepub fn has_warning(&self) -> bool
pub fn has_warning(&self) -> bool
Whether an item has the severity warning.
Trait Implementations§
impl Eq for Exposure
impl StructuralPartialEq for Exposure
Auto Trait Implementations§
impl Forget for Exposure
impl Freeze for Exposure
impl Move for Exposure
impl RefUnwindSafe for Exposure
impl Send for Exposure
impl Sync for Exposure
impl Unpin for Exposure
impl UnsafeUnpin for Exposure
impl UnwindSafe for Exposure
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