pub struct AgentKey(pub String);Expand description
Key identifier as it appears in casts and signed messages (e.g. @alice).
Equality is whole-symbol string equality; cryptographic validity of the signature that binds a message to this identifier is an R4-layer precondition, outside this module (CON-602).
Tuple Fields§
§0: StringTrait Implementations§
impl Eq for AgentKey
Source§impl Ord for AgentKey
impl Ord for AgentKey
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for AgentKey
impl PartialOrd for AgentKey
impl StructuralPartialEq for AgentKey
Auto Trait Implementations§
impl Forget for AgentKey
impl Freeze for AgentKey
impl Move for AgentKey
impl RefUnwindSafe for AgentKey
impl Send for AgentKeywhere
RawVecInner: Send,
impl Sync for AgentKeywhere
RawVecInner: Sync,
impl Unpin for AgentKey
impl UnsafeUnpin for AgentKey
impl UnwindSafe for AgentKeywhere
RawVecInner: 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