Struct ruma::api::federation::membership::create_join_event::RoomState
source · [−]pub struct RoomState {
pub auth_chain: Vec<Box<RawValue, Global>, Global>,
pub state: Vec<Box<RawValue, Global>, Global>,
}
Available on crate feature
api
and (crate features federation-api-c
or federation-api-s
) only.Expand description
Full state of the room.
Fields
auth_chain: Vec<Box<RawValue, Global>, Global>
The full set of authorization events that make up the state of the room, and their authorization events, recursively.
state: Vec<Box<RawValue, Global>, Global>
The room state.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RoomState
impl<'de> Deserialize<'de> for RoomState
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<RoomState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RoomState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for RoomState
impl Serialize for RoomState
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RoomState
impl Send for RoomState
impl Sync for RoomState
impl Unpin for RoomState
impl UnwindSafe for RoomState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more