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§
Trait Implementations§
Source§impl Clone for EndpointPortConfigPublishModeInlineItem
impl Clone for EndpointPortConfigPublishModeInlineItem
Source§fn clone(&self) -> EndpointPortConfigPublishModeInlineItem
fn clone(&self) -> EndpointPortConfigPublishModeInlineItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for EndpointPortConfigPublishModeInlineItem
impl<'de> Deserialize<'de> for EndpointPortConfigPublishModeInlineItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EndpointPortConfigPublishModeInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EndpointPortConfigPublishModeInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EndpointPortConfigPublishModeInlineItem
impl PartialEq for EndpointPortConfigPublishModeInlineItem
Source§fn eq(&self, other: &EndpointPortConfigPublishModeInlineItem) -> bool
fn eq(&self, other: &EndpointPortConfigPublishModeInlineItem) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for EndpointPortConfigPublishModeInlineItem
impl Serialize for EndpointPortConfigPublishModeInlineItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EndpointPortConfigPublishModeInlineItem
Auto Trait Implementations§
impl Freeze for EndpointPortConfigPublishModeInlineItem
impl RefUnwindSafe for EndpointPortConfigPublishModeInlineItem
impl Send for EndpointPortConfigPublishModeInlineItem
impl Sync for EndpointPortConfigPublishModeInlineItem
impl Unpin for EndpointPortConfigPublishModeInlineItem
impl UnwindSafe for EndpointPortConfigPublishModeInlineItem
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