pub struct NewStateEvent {
pub event_id: String,
pub sender_user_id: i64,
pub event_type: String,
pub state_key: String,
pub content: String,
}Expand description
One state event queued for create_room_with_state — the same shape
apply_state_event takes per-field, minus room_id/origin_server_ts/
now (shared by the whole batch, passed once to
create_room_with_state itself rather than repeated per event).
Fields§
§event_id: String§sender_user_id: i64§event_type: String§state_key: String§content: StringTrait Implementations§
Source§impl Clone for NewStateEvent
impl Clone for NewStateEvent
Source§impl Debug for NewStateEvent
impl Debug for NewStateEvent
Source§impl PartialEq for NewStateEvent
impl PartialEq for NewStateEvent
impl StructuralPartialEq for NewStateEvent
Auto Trait Implementations§
impl Freeze for NewStateEvent
impl RefUnwindSafe for NewStateEvent
impl Send for NewStateEvent
impl Sync for NewStateEvent
impl Unpin for NewStateEvent
impl UnsafeUnpin for NewStateEvent
impl UnwindSafe for NewStateEvent
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