pub enum EndpointContents {
Set(Endpoint),
Unset,
}Variants§
Trait Implementations§
Source§impl Debug for EndpointContents
impl Debug for EndpointContents
Source§impl<'de> Deserialize<'de> for EndpointContents
impl<'de> Deserialize<'de> for EndpointContents
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 From<EndpointContents> for Option<Endpoint>
impl From<EndpointContents> for Option<Endpoint>
Source§fn from(endpoint: EndpointContents) -> Self
fn from(endpoint: EndpointContents) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EndpointContents
impl RefUnwindSafe for EndpointContents
impl Send for EndpointContents
impl Sync for EndpointContents
impl Unpin for EndpointContents
impl UnwindSafe for EndpointContents
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