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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for EndpointPortConfigPublishModeInlineItem
impl<'de> Deserialize<'de> for EndpointPortConfigPublishModeInlineItem
sourcefn 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
sourceimpl PartialEq<EndpointPortConfigPublishModeInlineItem> for EndpointPortConfigPublishModeInlineItem
impl PartialEq<EndpointPortConfigPublishModeInlineItem> for EndpointPortConfigPublishModeInlineItem
sourcefn eq(&self, other: &EndpointPortConfigPublishModeInlineItem) -> bool
fn eq(&self, other: &EndpointPortConfigPublishModeInlineItem) -> bool
sourceimpl Serialize for EndpointPortConfigPublishModeInlineItem
impl Serialize for EndpointPortConfigPublishModeInlineItem
sourcefn 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 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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