pub struct ContainerWithExposedPortOpts<'a> {
pub description: Option<&'a str>,
pub experimental_skip_healthcheck: Option<bool>,
pub protocol: Option<NetworkProtocol>,
}
Fields§
§description: Option<&'a str>
Port description. Example: “payment API endpoint”
experimental_skip_healthcheck: Option<bool>
Skip the health check when run as a service.
protocol: Option<NetworkProtocol>
Network protocol. Example: “tcp”
Trait Implementations§
Source§impl<'a> Debug for ContainerWithExposedPortOpts<'a>
impl<'a> Debug for ContainerWithExposedPortOpts<'a>
Source§impl<'a> PartialEq for ContainerWithExposedPortOpts<'a>
impl<'a> PartialEq for ContainerWithExposedPortOpts<'a>
Source§fn eq(&self, other: &ContainerWithExposedPortOpts<'a>) -> bool
fn eq(&self, other: &ContainerWithExposedPortOpts<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for ContainerWithExposedPortOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContainerWithExposedPortOpts<'a>
impl<'a> RefUnwindSafe for ContainerWithExposedPortOpts<'a>
impl<'a> Send for ContainerWithExposedPortOpts<'a>
impl<'a> Sync for ContainerWithExposedPortOpts<'a>
impl<'a> Unpin for ContainerWithExposedPortOpts<'a>
impl<'a> UnwindSafe for ContainerWithExposedPortOpts<'a>
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