pub enum RequiredStateEntry {
Event(Raw<AnySyncStateEvent>),
Deleted(StateStub),
}Available on crate feature
api and crate feature unstable-msc4186 and (crate features client-api-c or client-api-s) and (crate features client or server) only.Expand description
An entry of FullRoomData::required_state.
Variants§
Trait Implementations§
Source§impl Clone for RequiredStateEntry
impl Clone for RequiredStateEntry
Source§fn clone(&self) -> RequiredStateEntry
fn clone(&self) -> RequiredStateEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RequiredStateEntry
impl Debug for RequiredStateEntry
Source§impl<'de> Deserialize<'de> for RequiredStateEntry
impl<'de> Deserialize<'de> for RequiredStateEntry
Source§fn deserialize<D>(
deserializer: D,
) -> Result<RequiredStateEntry, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<RequiredStateEntry, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RequiredStateEntry
impl Serialize for RequiredStateEntry
Source§fn 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 Forget for RequiredStateEntry
impl Freeze for RequiredStateEntry
impl Move for RequiredStateEntry
impl RefUnwindSafe for RequiredStateEntry
impl Send for RequiredStateEntry
impl Sync for RequiredStateEntry
impl Unpin for RequiredStateEntry
impl UnsafeUnpin for RequiredStateEntry
impl UnwindSafe for RequiredStateEntry
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