membership_id
Module: membership_id
Section titled “Module: membership_id”Contents
Section titled “Contents”Structs
MembershipId- A Firma-generated identifier for one Workspace Membership.MembershipIdParseError- Error returned when text is not a validMembershipId.
firma_identifiers::membership_id::MembershipId
Section titled “firma_identifiers::membership_id::MembershipId”Struct
A Firma-generated identifier for one Workspace Membership.
Its canonical representation is a mem TypeID backed by an RFC 9562
UUID v7, the same wire form the Firma Authority uses.
Tuple Struct: ()
Methods:
fn generate() -> Self- Generate a newmemidentifier.
Traits: Eq, Copy
Trait Implementations:
- PartialEq
fn eq(self: &Self, other: &Self) -> bool
- Clone
fn clone(self: &Self) -> Self
- 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: &Self) -> $crate::cmp::Ordering
- PartialOrd
fn partial_cmp(self: &Self, other: &Self) -> $crate::option::Option<$crate::cmp::Ordering>
firma_identifiers::membership_id::MembershipIdParseError
Section titled “firma_identifiers::membership_id::MembershipIdParseError”Struct
Error returned when text is not a valid MembershipId.
Tuple Struct: ()
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Display
fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
- Error
fn source(self: &Self) -> ::core::option::Option<&dyn ::thiserror::__private21::Error>