Module associations

Module associations 

Source

Re-exports§

pub use self::signature::*;

Modules§

builder
Builders for creating a SignatureRequest with a PendingIdentityAction for an external SDK/Library, which can then be resolved into an IdentityUpdate. An IdentityUpdate may 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
AssociationState
AssociationStateDiff
ChangeRecoveryIdentity
ChangeRecoveryAddress Action
CreateInbox
CreateInbox Action
IdentityUpdate
An IdentityUpdate contains one or more Actions that can be applied to the AssociationState
Member
A Member of Inbox
RevokeAssociation
RevokeAssociation Action

Enums§

Action
All possible Action types that can be used inside an IdentityUpdate
AssociationError
DeserializationError
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.
MemberIdentifier
All identity logic happens here
MemberKind

Traits§

HasMemberKind
IdentityAction

Functions§

apply_update
Apply a single IdentityUpdate to an existing AssociationState and return a new AssociationState
get_state
Get the current state from an array of IdentityUpdates. Entire operation fails if any operation fails
map_vec
Convert a vector of A into a vector of B using From
try_map_vec
Convert a vector of A into a vector of B using TryFrom Useful to convert vectors of structs into protos, like Vec<IdentityUpdate> to Vec<IdentityUpdateProto> or vice-versa.