Enum docker_api::models::PortTypeInlineItem
source · pub enum PortTypeInlineItem {
Tcp,
Udp,
Sctp,
}
Variants§
Trait Implementations§
source§impl AsRef<str> for PortTypeInlineItem
impl AsRef<str> for PortTypeInlineItem
source§impl Clone for PortTypeInlineItem
impl Clone for PortTypeInlineItem
source§fn clone(&self) -> PortTypeInlineItem
fn clone(&self) -> PortTypeInlineItem
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 Debug for PortTypeInlineItem
impl Debug for PortTypeInlineItem
source§impl<'de> Deserialize<'de> for PortTypeInlineItem
impl<'de> Deserialize<'de> for PortTypeInlineItem
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PortTypeInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<PortTypeInlineItem, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for PortTypeInlineItem
impl Display for PortTypeInlineItem
source§impl PartialEq<PortTypeInlineItem> for PortTypeInlineItem
impl PartialEq<PortTypeInlineItem> for PortTypeInlineItem
source§fn eq(&self, other: &PortTypeInlineItem) -> bool
fn eq(&self, other: &PortTypeInlineItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PortTypeInlineItem
impl Serialize for PortTypeInlineItem
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