pub struct PortPublisher {
pub target_port: u16,
pub published_port: Option<u16>,
pub protocol: String,
}
Expand description
Port publishing information
Fields§
§target_port: u16
Target port
published_port: Option<u16>
Published port
protocol: String
Protocol
Trait Implementations§
Source§impl Clone for PortPublisher
impl Clone for PortPublisher
Source§fn clone(&self) -> PortPublisher
fn clone(&self) -> PortPublisher
Returns a duplicate 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 PortPublisher
impl Debug for PortPublisher
Source§impl<'de> Deserialize<'de> for PortPublisher
impl<'de> Deserialize<'de> for PortPublisher
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 PortPublisher
impl RefUnwindSafe for PortPublisher
impl Send for PortPublisher
impl Sync for PortPublisher
impl Unpin for PortPublisher
impl UnwindSafe for PortPublisher
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