pub enum EndpointPortConfigPublishModeInlineItem {
Ingress,
Host,
}
Expand description
The mode in which port is published.
- “ingress” makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not.
- “host” bypasses the routing mesh and publish the port directly on the swarm node where that service is running.
Variants
Ingress
Host
Trait Implementations
sourceimpl Clone for EndpointPortConfigPublishModeInlineItem
impl Clone for EndpointPortConfigPublishModeInlineItem
sourcefn clone(&self) -> EndpointPortConfigPublishModeInlineItem
fn clone(&self) -> EndpointPortConfigPublishModeInlineItem
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<'de> Deserialize<'de> for EndpointPortConfigPublishModeInlineItem
impl<'de> Deserialize<'de> for EndpointPortConfigPublishModeInlineItem
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<EndpointPortConfigPublishModeInlineItem> for EndpointPortConfigPublishModeInlineItem
impl PartialEq<EndpointPortConfigPublishModeInlineItem> for EndpointPortConfigPublishModeInlineItem
sourcefn eq(&self, other: &EndpointPortConfigPublishModeInlineItem) -> bool
fn eq(&self, other: &EndpointPortConfigPublishModeInlineItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for EndpointPortConfigPublishModeInlineItem
Auto Trait Implementations
impl RefUnwindSafe for EndpointPortConfigPublishModeInlineItem
impl Send for EndpointPortConfigPublishModeInlineItem
impl Sync for EndpointPortConfigPublishModeInlineItem
impl Unpin for EndpointPortConfigPublishModeInlineItem
impl UnwindSafe for EndpointPortConfigPublishModeInlineItem
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