pub struct PortBinding {
    pub host_ip: Option<String>,
    pub host_port: Option<String>,
}Available on crate feature 
v5 only.Expand description
PortBinding represents a binding between a Host IP address and a Host Port
Fields§
§host_ip: Option<String>HostIP is the host IP Address
host_port: Option<String>HostPort is the host port number
Trait Implementations§
Source§impl Debug for PortBinding
 
impl Debug for PortBinding
Source§impl Default for PortBinding
 
impl Default for PortBinding
Source§fn default() -> PortBinding
 
fn default() -> PortBinding
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PortBinding
 
impl<'de> Deserialize<'de> for PortBinding
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 PortBinding
impl RefUnwindSafe for PortBinding
impl Send for PortBinding
impl Sync for PortBinding
impl Unpin for PortBinding
impl UnwindSafe for PortBinding
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