pub struct RoomActivity {
pub id: String,
pub room_id: String,
pub actor_id: String,
pub action: String,
pub created: String,
pub raw: MercuryActivity,
}Expand description
A room event from Mercury.
Fields§
§id: StringActivity ID.
room_id: StringConversation/space ID.
actor_id: StringID of the person who performed the action.
action: StringRoom action: “created” or “updated”.
created: StringISO 8601 timestamp.
raw: MercuryActivityFull raw activity for advanced use.
Trait Implementations§
Source§impl Clone for RoomActivity
impl Clone for RoomActivity
Source§fn clone(&self) -> RoomActivity
fn clone(&self) -> RoomActivity
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RoomActivity
impl RefUnwindSafe for RoomActivity
impl Send for RoomActivity
impl Sync for RoomActivity
impl Unpin for RoomActivity
impl UnsafeUnpin for RoomActivity
impl UnwindSafe for RoomActivity
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