pub enum ExposeProtocol {
Http,
Tcp,
}Expand description
Protocol for public workload endpoints.
JSON schema
{
"description": "Protocol for public workload endpoints.",
"type": "string",
"enum": [
"http",
"tcp"
]
}Variants§
Trait Implementations§
Source§impl Clone for ExposeProtocol
impl Clone for ExposeProtocol
Source§fn clone(&self) -> ExposeProtocol
fn clone(&self) -> ExposeProtocol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExposeProtocol
Source§impl Debug for ExposeProtocol
impl Debug for ExposeProtocol
Source§impl<'de> Deserialize<'de> for ExposeProtocol
impl<'de> Deserialize<'de> for ExposeProtocol
Source§fn 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
Source§impl Display for ExposeProtocol
impl Display for ExposeProtocol
impl Eq for ExposeProtocol
Source§impl From<&ExposeProtocol> for ExposeProtocol
impl From<&ExposeProtocol> for ExposeProtocol
Source§fn from(value: &ExposeProtocol) -> Self
fn from(value: &ExposeProtocol) -> Self
Converts to this type from the input type.
Source§impl FromStr for ExposeProtocol
impl FromStr for ExposeProtocol
Source§impl Hash for ExposeProtocol
impl Hash for ExposeProtocol
Source§impl Ord for ExposeProtocol
impl Ord for ExposeProtocol
Source§fn cmp(&self, other: &ExposeProtocol) -> Ordering
fn cmp(&self, other: &ExposeProtocol) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExposeProtocol
impl PartialEq for ExposeProtocol
Source§impl PartialOrd for ExposeProtocol
impl PartialOrd for ExposeProtocol
Source§impl Serialize for ExposeProtocol
impl Serialize for ExposeProtocol
impl StructuralPartialEq for ExposeProtocol
Source§impl TryFrom<&String> for ExposeProtocol
impl TryFrom<&String> for ExposeProtocol
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ExposeProtocol
impl TryFrom<&str> for ExposeProtocol
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ExposeProtocol
impl TryFrom<String> for ExposeProtocol
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ExposeProtocol
impl RefUnwindSafe for ExposeProtocol
impl Send for ExposeProtocol
impl Sync for ExposeProtocol
impl Unpin for ExposeProtocol
impl UnsafeUnpin for ExposeProtocol
impl UnwindSafe for ExposeProtocol
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