pub struct RoomKeyBundleInfo {
pub sender: OwnedUserId,
pub sender_key: Curve25519PublicKey,
pub room_id: OwnedRoomId,
}Expand description
Information about a received historic room key bundle.
This struct contains information needed to uniquely identify a room key bundle. Only a single bundle per sender for a given room is persisted at a time.
It is used to notify listeners about received room key bundles.
Fields§
§sender: OwnedUserIdThe user ID of the person that sent us the historic room key bundle.
sender_key: Curve25519PublicKeyThe Curve25519PublicKey of the device that sent us this data.
room_id: OwnedRoomIdThe ID of the room the bundle should be used in.
Trait Implementations§
Source§impl Clone for RoomKeyBundleInfo
impl Clone for RoomKeyBundleInfo
Source§fn clone(&self) -> RoomKeyBundleInfo
fn clone(&self) -> RoomKeyBundleInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoomKeyBundleInfo
impl Debug for RoomKeyBundleInfo
Source§impl From<&StoredRoomKeyBundleData> for RoomKeyBundleInfo
impl From<&StoredRoomKeyBundleData> for RoomKeyBundleInfo
Source§fn from(value: &StoredRoomKeyBundleData) -> Self
fn from(value: &StoredRoomKeyBundleData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RoomKeyBundleInfo
impl RefUnwindSafe for RoomKeyBundleInfo
impl Send for RoomKeyBundleInfo
impl Sync for RoomKeyBundleInfo
impl Unpin for RoomKeyBundleInfo
impl UnwindSafe for RoomKeyBundleInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more