pub struct PortParameters {
pub psid_offset: u8,
pub psid_length: u8,
pub excluded_ports: u16,
}
Expand description
Port set parameters for MAP
Fields§
§psid_offset: u8
Port Set Identifier (PSID) offset
psid_length: u8
Port Set Identifier length
excluded_ports: u16
Excluded ports (well-known ports)
Trait Implementations§
Source§impl Clone for PortParameters
impl Clone for PortParameters
Source§fn clone(&self) -> PortParameters
fn clone(&self) -> PortParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PortParameters
impl Debug for PortParameters
Source§impl<'de> Deserialize<'de> for PortParameters
impl<'de> Deserialize<'de> for PortParameters
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 Freeze for PortParameters
impl RefUnwindSafe for PortParameters
impl Send for PortParameters
impl Sync for PortParameters
impl Unpin for PortParameters
impl UnwindSafe for PortParameters
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