pub struct Port {
pub number: u16,
pub status: PortStatus,
pub service_name: String,
pub service_version: String,
}
Expand description
Port Information
Fields§
§number: u16
Port number
status: PortStatus
Port status
service_name: String
Service name
service_version: String
Service version
Implementations§
Trait Implementations§
source§impl PartialEq for Port
impl PartialEq for Port
impl StructuralPartialEq for Port
Auto Trait Implementations§
impl Freeze for Port
impl RefUnwindSafe for Port
impl Send for Port
impl Sync for Port
impl Unpin for Port
impl UnwindSafe for Port
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