Re-exports§
pub use self::signature::*;
Modules§
- builder
- Builders for creating a
SignatureRequestwith aPendingIdentityActionfor an external SDK/Library, which can then be resolved into anIdentityUpdate. AnIdentityUpdatemay be used for updating the state of an XMTP ID according to XIP-46 - ident
- signature
- unsigned_
actions - unverified
- verified_
signature
Structs§
- AddAssociation
- AddAssociation Action
- Association
State - Association
State Diff - Change
Recovery Identity - ChangeRecoveryAddress Action
- Create
Inbox - CreateInbox Action
- Identity
Update - An
IdentityUpdatecontains one or more Actions that can be applied to the AssociationState - Member
- A Member of Inbox
- Revoke
Association - RevokeAssociation Action
Enums§
- Action
- All possible Action types that can be used inside an
IdentityUpdate - Association
Error - Deserialization
Error - Identifier
- MemberIdentifier without the installation variant is used to enforce parameters. Not everything in this enum will be able to sign, which will be enforced on the unverified signature counterparts.
- Member
Identifier - All identity logic happens here
- Member
Kind
Traits§
Functions§
- apply_
update - Apply a single
IdentityUpdateto an existingAssociationStateand return a newAssociationState - get_
state - Get the current state from an array of
IdentityUpdates. Entire operation fails if any operation fails - map_vec
- Convert a vector of
Ainto a vector ofBusingFrom - try_
map_ vec - Convert a vector of
Ainto a vector ofBusingTryFromUseful to convert vectors of structs into protos, likeVec<IdentityUpdate>toVec<IdentityUpdateProto>or vice-versa.