pub struct SubagentId(usize);Expand description
ID of a subagent, unique within one application
Tuple Fields§
§0: usizeThe raw ID
Implementations§
Trait Implementations§
Source§impl Clone for SubagentId
impl Clone for SubagentId
Source§fn clone(&self) -> SubagentId
fn clone(&self) -> SubagentId
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 moreimpl Copy for SubagentId
Source§impl Debug for SubagentId
impl Debug for SubagentId
Source§impl Display for SubagentId
impl Display for SubagentId
impl Eq for SubagentId
Source§impl Hash for SubagentId
impl Hash for SubagentId
Source§impl Ord for SubagentId
impl Ord for SubagentId
Source§fn cmp(&self, other: &SubagentId) -> Ordering
fn cmp(&self, other: &SubagentId) -> Ordering
1.21.0 (const: unstable) · 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 SubagentId
impl PartialEq for SubagentId
Source§fn eq(&self, other: &SubagentId) -> bool
fn eq(&self, other: &SubagentId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SubagentId
impl PartialOrd for SubagentId
impl StructuralPartialEq for SubagentId
Auto Trait Implementations§
impl Freeze for SubagentId
impl RefUnwindSafe for SubagentId
impl Send for SubagentId
impl Sync for SubagentId
impl Unpin for SubagentId
impl UnsafeUnpin for SubagentId
impl UnwindSafe for SubagentId
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.