pub struct Published {
pub address: String,
pub host_port: u16,
pub container_port: u16,
pub protocol: String,
}Expand description
A host port a container publishes.
Fields§
§address: StringThe host address it is bound on (e.g. 0.0.0.0, 127.0.0.1).
host_port: u16The host port.
container_port: u16The container port.
protocol: Stringtcp or udp.
Trait Implementations§
impl Eq for Published
impl StructuralPartialEq for Published
Auto Trait Implementations§
impl Forget for Published
impl Freeze for Published
impl RefUnwindSafe for Published
impl Send for Published
impl Sync for Published
impl Unpin for Published
impl UnsafeUnpin for Published
impl UnwindSafe for Published
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.