pub struct Internet {
pub connection: Connection,
pub provider: Option<String>,
pub dns_servers: Vec<String>,
pub downstream_max: Option<u64>,
pub upstream_max: Option<u64>,
pub dsl: Option<Dsl>,
}Expand description
The internet connection in detail.
Fields§
§connection: Connection§provider: Option<String>§dns_servers: Vec<String>§downstream_max: Option<u64>The speed of the physical link, in kbit/s.
upstream_max: Option<u64>§dsl: Option<Dsl>Trait Implementations§
impl StructuralPartialEq for Internet
Auto Trait Implementations§
impl Forget for Internet
impl Freeze for Internet
impl Move for Internet
impl RefUnwindSafe for Internet
impl Send for Internet
impl Sync for Internet
impl Unpin for Internet
impl UnsafeUnpin for Internet
impl UnwindSafe for Internet
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