Struct base::id::MessagePortId
source · pub struct MessagePortId {
pub namespace_id: PipelineNamespaceId,
pub index: MessagePortIndex,
}
Fields§
§namespace_id: PipelineNamespaceId
§index: MessagePortIndex
Implementations§
source§impl MessagePortId
impl MessagePortId
pub fn new() -> MessagePortId
Trait Implementations§
source§impl Clone for MessagePortId
impl Clone for MessagePortId
source§fn clone(&self) -> MessagePortId
fn clone(&self) -> MessagePortId
Returns a copy 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 Debug for MessagePortId
impl Debug for MessagePortId
source§impl<'de> Deserialize<'de> for MessagePortId
impl<'de> Deserialize<'de> for MessagePortId
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 MessagePortId
impl Display for MessagePortId
source§impl Hash for MessagePortId
impl Hash for MessagePortId
source§impl MallocSizeOf for MessagePortId
impl MallocSizeOf for MessagePortId
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl Ord for MessagePortId
impl Ord for MessagePortId
source§fn cmp(&self, other: &MessagePortId) -> Ordering
fn cmp(&self, other: &MessagePortId) -> Ordering
1.21.0 · 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 MessagePortId
impl PartialEq for MessagePortId
source§fn eq(&self, other: &MessagePortId) -> bool
fn eq(&self, other: &MessagePortId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MessagePortId
impl PartialOrd for MessagePortId
source§fn partial_cmp(&self, other: &MessagePortId) -> Option<Ordering>
fn partial_cmp(&self, other: &MessagePortId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MessagePortId
impl Serialize for MessagePortId
impl Copy for MessagePortId
impl Eq for MessagePortId
impl StructuralPartialEq for MessagePortId
Auto Trait Implementations§
impl Freeze for MessagePortId
impl RefUnwindSafe for MessagePortId
impl Send for MessagePortId
impl Sync for MessagePortId
impl Unpin for MessagePortId
impl UnwindSafe for MessagePortId
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.