Struct rushmap_core::model::TcpService
source · pub struct TcpService {
pub port: u16,
pub service_name: String,
pub service_description: String,
pub wellknown_flag: u32,
pub default_flag: u32,
}
Fields§
§port: u16
§service_name: String
§service_description: String
§wellknown_flag: u32
§default_flag: u32
Trait Implementations§
source§impl Clone for TcpService
impl Clone for TcpService
source§fn clone(&self) -> TcpService
fn clone(&self) -> TcpService
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TcpService
impl Debug for TcpService
source§impl<'de> Deserialize<'de> for TcpService
impl<'de> Deserialize<'de> for TcpService
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TcpService
impl Send for TcpService
impl Sync for TcpService
impl Unpin for TcpService
impl UnwindSafe for TcpService
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