approval_token_id
Module: approval_token_id
Section titled “Module: approval_token_id”Contents
Section titled “Contents”Structs
ApprovalTokenId- An opaque identifier assigned to one human-approval request.ApprovalTokenIdParseError- Error returned when text is not a validApprovalTokenId.
firma_identifiers::approval_token_id::ApprovalTokenId
Section titled “firma_identifiers::approval_token_id::ApprovalTokenId”Struct
An opaque identifier assigned to one human-approval request.
Its canonical representation is an atok TypeID backed by an RFC
9562 UUID v4.
Tuple Struct: ()
Methods:
fn generate() -> Self- Generate a newatokidentifier.
Traits: Eq, Copy
Trait Implementations:
- Clone
fn clone(self: &Self) -> ApprovalTokenId
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Deserialize
fn deserialize<D>(deserializer: D) -> Result<Self, <D as >::Error>
- Serialize
fn serialize<S>(self: &Self, serializer: S) -> Result<<S as >::Ok, <S as >::Error>
- Display
fn fmt(self: &Self, formatter: & mut std::fmt::Formatter) -> std::fmt::Result
- FromStr
fn from_str(value: &str) -> Result<Self, <Self as >::Err>
- Hash
fn hash<__H>(self: &Self, state: & mut __H)
- Ord
fn cmp(self: &Self, other: &ApprovalTokenId) -> $crate::cmp::Ordering
- PartialOrd
fn partial_cmp(self: &Self, other: &ApprovalTokenId) -> $crate::option::Option<$crate::cmp::Ordering>
- PartialEq
fn eq(self: &Self, other: &ApprovalTokenId) -> bool
firma_identifiers::approval_token_id::ApprovalTokenIdParseError
Section titled “firma_identifiers::approval_token_id::ApprovalTokenIdParseError”Struct
Error returned when text is not a valid ApprovalTokenId.
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