[−][src]Struct ruma_events::forwarded_room_key::ForwardedRoomKeyEventContent
The payload for ForwardedRoomKeyEvent
.
Fields
algorithm: Algorithm
The encryption algorithm the key in this event is to be used with.
room_id: RoomId
The room where the key is used.
sender_key: String
The Curve25519 key of the device which initiated the session originally.
session_id: String
The ID of the session that the key is for.
session_key: String
The key to be exchanged.
sender_claimed_ed25519_key: String
The Ed25519 key of the device which initiated the session originally.
It is "claimed" because the receiving device has no way to tell that the original room_key actually came from a device which owns the private part of this key unless they have done device verification.
forwarding_curve25519_key_chain: Vec<String>
Chain of Curve25519 keys.
It starts out empty, but each time the key is forwarded to another device, the previous sender in the chain is added to the end of the list. For example, if the key is forwarded from A to B to C, this field is empty between A and B, and contains A's Curve25519 key between B and C.
Trait Implementations
impl Clone for ForwardedRoomKeyEventContent
[src]
fn clone(&self) -> ForwardedRoomKeyEventContent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ForwardedRoomKeyEventContent
[src]
impl FromRaw for ForwardedRoomKeyEventContent
[src]
type Raw = ForwardedRoomKeyEventContent
The raw type.
fn from_raw(raw: ForwardedRoomKeyEventContent) -> Self
[src]
impl PartialEq<ForwardedRoomKeyEventContent> for ForwardedRoomKeyEventContent
[src]
fn eq(&self, other: &ForwardedRoomKeyEventContent) -> bool
[src]
fn ne(&self, other: &ForwardedRoomKeyEventContent) -> bool
[src]
impl Serialize for ForwardedRoomKeyEventContent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ForwardedRoomKeyEventContent
[src]
Auto Trait Implementations
impl RefUnwindSafe for ForwardedRoomKeyEventContent
impl Send for ForwardedRoomKeyEventContent
impl Sync for ForwardedRoomKeyEventContent
impl Unpin for ForwardedRoomKeyEventContent
impl UnwindSafe for ForwardedRoomKeyEventContent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,