pub struct WebServer {
pub name: String,
pub family: Option<String>,
pub variant: Option<String>,
pub kind: Type,
}
Expand description
Represents a web server.
This struct contains the name, family, variant, and kind of browser. Examples:
- name: “”, family: “apache”, variant: “2.x”, kind: Type::Specified
- name: “”, family: “nginx”, variant: “1.x”, kind: Type::Specified
Fields§
§name: String
§family: Option<String>
§variant: Option<String>
§kind: Type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebServer
impl RefUnwindSafe for WebServer
impl Send for WebServer
impl Sync for WebServer
impl Unpin for WebServer
impl UnwindSafe for WebServer
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