pub struct StateEventWrite<'a> {
pub event_id: &'a str,
pub room_id: &'a str,
pub sender_user_id: i64,
pub event_type: &'a str,
pub state_key: &'a str,
pub content: &'a str,
pub origin_server_ts: i64,
pub now: &'a str,
}Expand description
One state event for apply_state_event: its identity, the state slot
it fills, its content, and the two clocks (origin_server_ts in
milliseconds for the event row, now as RFC 3339 for the membership
cache’s updated_at).
Fields§
§event_id: &'a str§room_id: &'a str§sender_user_id: i64§event_type: &'a str§state_key: &'a str§content: &'a str§origin_server_ts: i64§now: &'a strTrait Implementations§
Source§impl<'a> Clone for StateEventWrite<'a>
impl<'a> Clone for StateEventWrite<'a>
impl<'a> Copy for StateEventWrite<'a>
Auto Trait Implementations§
impl<'a> Freeze for StateEventWrite<'a>
impl<'a> RefUnwindSafe for StateEventWrite<'a>
impl<'a> Send for StateEventWrite<'a>
impl<'a> Sync for StateEventWrite<'a>
impl<'a> Unpin for StateEventWrite<'a>
impl<'a> UnsafeUnpin for StateEventWrite<'a>
impl<'a> UnwindSafe for StateEventWrite<'a>
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