pub struct AgentName(u8);
Expand description
Copyable reference to an Agent
. It identifies exactly one agent.
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AgentName
impl<'de> Deserialize<'de> for AgentName
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 PartialEq<AgentName> for AgentName
impl PartialEq<AgentName> for AgentName
impl Copy for AgentName
impl Eq for AgentName
impl StructuralEq for AgentName
impl StructuralPartialEq for AgentName
Auto Trait Implementations§
impl RefUnwindSafe for AgentName
impl Send for AgentName
impl Sync for AgentName
impl Unpin for AgentName
impl UnwindSafe for AgentName
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.