pub struct QualifiedAddress<I, Q> {
pub entity: I,
pub qualifier: Q,
}Expand description
Strongly typed entity-plus-qualifier address used by qualified endpoints.
Fields§
§entity: I§qualifier: QTrait Implementations§
Source§impl<I: Clone, Q: Clone> Clone for QualifiedAddress<I, Q>
impl<I: Clone, Q: Clone> Clone for QualifiedAddress<I, Q>
Source§fn clone(&self) -> QualifiedAddress<I, Q>
fn clone(&self) -> QualifiedAddress<I, Q>
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<'de, I, Q> Deserialize<'de> for QualifiedAddress<I, Q>where
I: Deserialize<'de>,
Q: Deserialize<'de>,
impl<'de, I, Q> Deserialize<'de> for QualifiedAddress<I, Q>where
I: Deserialize<'de>,
Q: Deserialize<'de>,
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
impl<I: Eq, Q: Eq> Eq for QualifiedAddress<I, Q>
Source§impl<I, Q> Serialize for QualifiedAddress<I, Q>
impl<I, Q> Serialize for QualifiedAddress<I, Q>
impl<I: PartialEq, Q: PartialEq> StructuralPartialEq for QualifiedAddress<I, Q>
Auto Trait Implementations§
impl<I, Q> Freeze for QualifiedAddress<I, Q>
impl<I, Q> RefUnwindSafe for QualifiedAddress<I, Q>where
I: RefUnwindSafe,
Q: RefUnwindSafe,
impl<I, Q> Send for QualifiedAddress<I, Q>
impl<I, Q> Sync for QualifiedAddress<I, Q>
impl<I, Q> Unpin for QualifiedAddress<I, Q>
impl<I, Q> UnsafeUnpin for QualifiedAddress<I, Q>where
I: UnsafeUnpin,
Q: UnsafeUnpin,
impl<I, Q> UnwindSafe for QualifiedAddress<I, Q>where
I: UnwindSafe,
Q: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CellValue for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> EndpointQualifier for T
impl<T> EndpointQualifier for T
Source§fn index_value(&self) -> Result<IndexValue>
fn index_value(&self) -> Result<IndexValue>
Encode this qualifier for equality and hash indexing. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more