pub struct PortMapping {
pub container_port: u64,
pub host_ip: String,
pub host_port: u16,
pub protocol: String,
pub range: u16,
}
Fields§
§container_port: u64
§host_ip: String
§host_port: u16
§protocol: String
§range: u16
Trait Implementations§
Source§impl Debug for PortMapping
impl Debug for PortMapping
Source§impl Default for PortMapping
impl Default for PortMapping
Source§fn default() -> PortMapping
fn default() -> PortMapping
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PortMapping
impl<'de> Deserialize<'de> for PortMapping
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 PortMapping
impl RefUnwindSafe for PortMapping
impl Send for PortMapping
impl Sync for PortMapping
impl Unpin for PortMapping
impl UnwindSafe for PortMapping
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