pub struct PortSpec {
pub container_port: u16,
pub protocol: String,
pub host_port: Option<u16>,
pub host_ip: Option<String>,
}Fields§
§container_port: u16§protocol: String§host_port: Option<u16>§host_ip: Option<String>Trait Implementations§
impl StructuralPartialEq for PortSpec
Auto Trait Implementations§
impl Forget for PortSpec
impl Freeze for PortSpec
impl Move for PortSpec
impl RefUnwindSafe for PortSpec
impl Send for PortSpecwhere
RawVecInner: Send,
impl Sync for PortSpecwhere
RawVecInner: Sync,
impl Unpin for PortSpec
impl UnsafeUnpin for PortSpec
impl UnwindSafe for PortSpecwhere
RawVecInner: UnwindSafe,
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