Type Alias ruma::events::room::third_party_invite::PossiblyRedactedRoomThirdPartyInviteEventContent
source · pub type PossiblyRedactedRoomThirdPartyInviteEventContent = RoomThirdPartyInviteEventContent;
events
only.Expand description
The possibly redacted form of RoomThirdPartyInviteEventContent
.
This type is used when it’s not obvious whether the content is redacted or not.
Aliased Type§
struct PossiblyRedactedRoomThirdPartyInviteEventContent {
pub display_name: String,
pub key_validity_url: String,
pub public_key: Base64,
pub public_keys: Option<Vec<PublicKey>>,
}
Fields§
§display_name: String
A user-readable string which represents the user who has been invited.
If the compat-optional
feature is enabled, this field being absent in JSON will result
in an empty string instead of an error when deserializing.
key_validity_url: String
A URL which can be fetched to validate whether the key has been revoked.
If the compat-optional
feature is enabled, this field being absent in JSON will result
in an empty string instead of an error when deserializing.
public_key: Base64
A base64-encoded Ed25519 key with which the token must be signed.
If the compat-optional
feature is enabled, this field being absent in JSON will result
in an empty string instead of an error when deserializing.
public_keys: Option<Vec<PublicKey>>
Keys with which the token may be signed.