pub enum MessageHeaderDestinationEndpoint {
Url(String),
Reference(Reference),
}
Expand description
Choice of types for the endpoint[x] field in MessageHeaderDestination
Variants§
Url(String)
Variant accepting the Url type.
Reference(Reference)
Variant accepting the Reference type.
Trait Implementations§
Source§impl Clone for MessageHeaderDestinationEndpoint
impl Clone for MessageHeaderDestinationEndpoint
Source§fn clone(&self) -> MessageHeaderDestinationEndpoint
fn clone(&self) -> MessageHeaderDestinationEndpoint
Returns a duplicate 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<'de> Deserialize<'de> for MessageHeaderDestinationEndpoint
impl<'de> Deserialize<'de> for MessageHeaderDestinationEndpoint
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MessageHeaderDestinationEndpoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MessageHeaderDestinationEndpoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MessageHeaderDestinationEndpoint
impl PartialEq for MessageHeaderDestinationEndpoint
Source§fn eq(&self, other: &MessageHeaderDestinationEndpoint) -> bool
fn eq(&self, other: &MessageHeaderDestinationEndpoint) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for MessageHeaderDestinationEndpoint
impl Serialize for MessageHeaderDestinationEndpoint
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
impl StructuralPartialEq for MessageHeaderDestinationEndpoint
Auto Trait Implementations§
impl Freeze for MessageHeaderDestinationEndpoint
impl RefUnwindSafe for MessageHeaderDestinationEndpoint
impl Send for MessageHeaderDestinationEndpoint
impl Sync for MessageHeaderDestinationEndpoint
impl Unpin for MessageHeaderDestinationEndpoint
impl UnwindSafe for MessageHeaderDestinationEndpoint
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