#[non_exhaustive]pub struct UnsignedEventContent {
pub invite_room_state: Vec<Raw<AnyStrippedStateEvent>>,
}
Expand description
Information included alongside an event that is not signed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.invite_room_state: Vec<Raw<AnyStrippedStateEvent>>
An optional list of simplified events to help the receiver of the invite identify the room. The recommended events to include are the join rules, canonical alias, avatar, and name of the room.
Implementations§
Trait Implementations§
Source§impl Clone for UnsignedEventContent
impl Clone for UnsignedEventContent
Source§fn clone(&self) -> UnsignedEventContent
fn clone(&self) -> UnsignedEventContent
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 Debug for UnsignedEventContent
impl Debug for UnsignedEventContent
Source§impl Default for UnsignedEventContent
impl Default for UnsignedEventContent
Source§fn default() -> UnsignedEventContent
fn default() -> UnsignedEventContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnsignedEventContent
impl<'de> Deserialize<'de> for UnsignedEventContent
Source§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 Freeze for UnsignedEventContent
impl RefUnwindSafe for UnsignedEventContent
impl Send for UnsignedEventContent
impl Sync for UnsignedEventContent
impl Unpin for UnsignedEventContent
impl UnwindSafe for UnsignedEventContent
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