agent_id
Module: agent_id
Section titled “Module: agent_id”Contents
Section titled “Contents”Structs
AgentId- A Firma-generated identifier for one Authority-registered agent.AgentIdParseError- Error returned when text is not a validAgentId.
firma_identifiers::agent_id::AgentId
Section titled “firma_identifiers::agent_id::AgentId”Struct
A Firma-generated identifier for one Authority-registered agent.
Its canonical representation is an agt TypeID backed by an RFC 9562
UUID v7.
Tuple Struct: ()
Methods:
fn generate() -> Self- Generate a newagtidentifier.
Traits: Eq, Copy
Trait Implementations:
- Ord
fn cmp(self: &Self, other: &AgentId) -> $crate::cmp::Ordering
- Deserialize
fn deserialize<D>(deserializer: D) -> Result<Self, <D as >::Error>
- PartialEq
fn eq(self: &Self, other: &AgentId) -> bool
- Serialize
fn serialize<S>(self: &Self, serializer: S) -> Result<<S as >::Ok, <S as >::Error>
- Clone
fn clone(self: &Self) -> AgentId
- PartialOrd
fn partial_cmp(self: &Self, other: &AgentId) -> $crate::option::Option<$crate::cmp::Ordering>
- Display
fn fmt(self: &Self, formatter: & mut std::fmt::Formatter) -> std::fmt::Result
- FromStr
fn from_str(value: &str) -> Result<Self, <Self as >::Err>
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Hash
fn hash<__H>(self: &Self, state: & mut __H)
firma_identifiers::agent_id::AgentIdParseError
Section titled “firma_identifiers::agent_id::AgentIdParseError”Struct
Error returned when text is not a valid AgentId.
Tuple Struct: ()
Trait Implementations:
- Display
fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
- Error
fn source(self: &Self) -> ::core::option::Option<&dyn ::thiserror::__private18::Error>
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result