pub enum ServiceEndpointProtocol {
Https,
Nativesecure,
Mysql,
Unknown(String),
}Expand description
Inline enum for ServiceEndpoint.protocol.
Variants§
Trait Implementations§
Source§impl Clone for ServiceEndpointProtocol
impl Clone for ServiceEndpointProtocol
Source§fn clone(&self) -> ServiceEndpointProtocol
fn clone(&self) -> ServiceEndpointProtocol
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 moreSource§impl Debug for ServiceEndpointProtocol
impl Debug for ServiceEndpointProtocol
Source§impl Default for ServiceEndpointProtocol
impl Default for ServiceEndpointProtocol
Source§fn default() -> ServiceEndpointProtocol
fn default() -> ServiceEndpointProtocol
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceEndpointProtocol
impl<'de> Deserialize<'de> for ServiceEndpointProtocol
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 ServiceEndpointProtocol
impl Display for ServiceEndpointProtocol
Source§impl PartialEq for ServiceEndpointProtocol
impl PartialEq for ServiceEndpointProtocol
Source§fn eq(&self, other: &ServiceEndpointProtocol) -> bool
fn eq(&self, other: &ServiceEndpointProtocol) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServiceEndpointProtocol
impl Serialize for ServiceEndpointProtocol
impl StructuralPartialEq for ServiceEndpointProtocol
Auto Trait Implementations§
impl Freeze for ServiceEndpointProtocol
impl RefUnwindSafe for ServiceEndpointProtocol
impl Send for ServiceEndpointProtocol
impl Sync for ServiceEndpointProtocol
impl Unpin for ServiceEndpointProtocol
impl UnsafeUnpin for ServiceEndpointProtocol
impl UnwindSafe for ServiceEndpointProtocol
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