Struct ruma_common::events::space::child::HierarchySpaceChildEvent
source · [−]pub struct HierarchySpaceChildEvent {
pub content: SpaceChildEventContent,
pub sender: OwnedUserId,
pub state_key: String,
pub origin_server_ts: MilliSecondsSinceUnixEpoch,
}
Available on crate feature
events
only.Expand description
An m.space.child
event represented as a Stripped State Event with an added origin_server_ts
key.
Fields
content: SpaceChildEventContent
The content of the space child event.
sender: OwnedUserId
The fully-qualified ID of the user who sent this event.
state_key: String
The room ID of the child.
origin_server_ts: MilliSecondsSinceUnixEpoch
Timestamp in milliseconds on originating homeserver when this event was sent.
Trait Implementations
sourceimpl Clone for HierarchySpaceChildEvent
impl Clone for HierarchySpaceChildEvent
sourcefn clone(&self) -> HierarchySpaceChildEvent
fn clone(&self) -> HierarchySpaceChildEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HierarchySpaceChildEvent
impl Debug for HierarchySpaceChildEvent
sourceimpl<'de> Deserialize<'de> for HierarchySpaceChildEvent
impl<'de> Deserialize<'de> for HierarchySpaceChildEvent
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for HierarchySpaceChildEvent
impl Serialize for HierarchySpaceChildEvent
Auto Trait Implementations
impl RefUnwindSafe for HierarchySpaceChildEvent
impl Send for HierarchySpaceChildEvent
impl Sync for HierarchySpaceChildEvent
impl Unpin for HierarchySpaceChildEvent
impl UnwindSafe for HierarchySpaceChildEvent
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