pub struct RoomThirdPartyInviteEvent<E>(/* private fields */)
where
E: Event;
Available on crate feature
state-res
only.Expand description
A helper type for an Event
of type m.room.third_party_invite
.
This is a type that deserializes each field lazily, when requested.
Implementations§
Source§impl<E> RoomThirdPartyInviteEvent<E>where
E: Event,
impl<E> RoomThirdPartyInviteEvent<E>where
E: Event,
Sourcepub fn new(event: E) -> RoomThirdPartyInviteEvent<E>
pub fn new(event: E) -> RoomThirdPartyInviteEvent<E>
Construct a new RoomThirdPartyInviteEvent
around the given event.
Sourcepub fn public_keys(
&self,
) -> Result<BTreeSet<IdentityServerBase64PublicKey>, String>
pub fn public_keys( &self, ) -> Result<BTreeSet<IdentityServerBase64PublicKey>, String>
The public keys of the identity server that might be used to sign the third-party invite.
Trait Implementations§
Source§impl<E> Clone for RoomThirdPartyInviteEvent<E>
impl<E> Clone for RoomThirdPartyInviteEvent<E>
Source§fn clone(&self) -> RoomThirdPartyInviteEvent<E>
fn clone(&self) -> RoomThirdPartyInviteEvent<E>
Returns a copy 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<E> Debug for RoomThirdPartyInviteEvent<E>
impl<E> Debug for RoomThirdPartyInviteEvent<E>
Auto Trait Implementations§
impl<E> Freeze for RoomThirdPartyInviteEvent<E>where
E: Freeze,
impl<E> RefUnwindSafe for RoomThirdPartyInviteEvent<E>where
E: RefUnwindSafe,
impl<E> Send for RoomThirdPartyInviteEvent<E>where
E: Send,
impl<E> Sync for RoomThirdPartyInviteEvent<E>where
E: Sync,
impl<E> Unpin for RoomThirdPartyInviteEvent<E>where
E: Unpin,
impl<E> UnwindSafe for RoomThirdPartyInviteEvent<E>where
E: UnwindSafe,
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