Enum ockam_entity::IdentityRequest [−][src]
pub enum IdentityRequest {
Show 22 variants
CreateProfile(Address),
CreateAuthenticationProof(Id, ByteVec),
CreateKey(Id, String),
GetProfilePublicKey(Id),
GetProfileSecretKey(Id),
GetPublicKey(Id, String),
GetSecretKey(Id, String),
GetChanges(Id),
GetContacts(Id),
GetContact(Id, Id),
RotateKey(Id),
AddChange(Id, ProfileChangeEvent),
VerifyAuthenticationProof(Id, ByteVec, Id, AuthenticationProof),
VerifyChanges(Id),
VerifyAndAddContact(Id, Contact),
VerifyContact(Id, Contact),
VerifyAndUpdateContact(Id, Id, Changes),
RemoveProfile(Id),
CreateSecureChannelListener(Id, Address, Address),
CreateSecureChannel(Id, Route, Address),
GetLease(Route, Id, String, String, TTL),
RevokeLease(Route, Id, Lease),
}
Variants
CreateProfile(Address)
Tuple Fields of CreateProfile
0: Address
GetProfilePublicKey(Id)
Tuple Fields of GetProfilePublicKey
0: Id
GetProfileSecretKey(Id)
Tuple Fields of GetProfileSecretKey
0: Id
GetChanges(Id)
Tuple Fields of GetChanges
0: Id
GetContacts(Id)
Tuple Fields of GetContacts
0: Id
RotateKey(Id)
Tuple Fields of RotateKey
0: Id
AddChange(Id, ProfileChangeEvent)
Tuple Fields of AddChange
0: Id
1: ProfileChangeEvent
VerifyAuthenticationProof(Id, ByteVec, Id, AuthenticationProof)
Tuple Fields of VerifyAuthenticationProof
VerifyChanges(Id)
Tuple Fields of VerifyChanges
0: Id
RemoveProfile(Id)
Tuple Fields of RemoveProfile
0: Id
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IdentityRequest
impl Send for IdentityRequest
impl Sync for IdentityRequest
impl Unpin for IdentityRequest
impl UnwindSafe for IdentityRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more