Struct docker_api_stubs::models::PortBinding
source · [−]Expand description
PortBinding represents a binding between a host IP address and a host port.
Fields
host_ip: Option<String>
Host IP address that the container’s port is mapped to.
host_port: Option<String>
Host port number that the container’s port is mapped to.
Trait Implementations
sourceimpl Clone for PortBinding
impl Clone for PortBinding
sourcefn clone(&self) -> PortBinding
fn clone(&self) -> PortBinding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PortBinding
impl Debug for PortBinding
sourceimpl<'de> Deserialize<'de> for PortBinding
impl<'de> Deserialize<'de> for PortBinding
sourcefn 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
sourceimpl PartialEq<PortBinding> for PortBinding
impl PartialEq<PortBinding> for PortBinding
sourcefn eq(&self, other: &PortBinding) -> bool
fn eq(&self, other: &PortBinding) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for PortBinding
impl Serialize for PortBinding
impl StructuralPartialEq for PortBinding
Auto Trait Implementations
impl RefUnwindSafe for PortBinding
impl Send for PortBinding
impl Sync for PortBinding
impl Unpin for PortBinding
impl UnwindSafe for PortBinding
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more