pub type RedactedLocationEvent = RedactedMessageLikeEvent<RedactedLocationEventContent>;
Available on crate feature
unstable-msc3488
only.Expand description
An m.location
event that has been redacted.
Aliased Type§
struct RedactedLocationEvent {
pub content: RedactedLocationEventContent,
pub event_id: OwnedEventId,
pub sender: OwnedUserId,
pub origin_server_ts: MilliSecondsSinceUnixEpoch,
pub room_id: OwnedRoomId,
pub unsigned: RedactedUnsigned,
}
Fields§
§content: RedactedLocationEventContent
Data specific to the event type.
event_id: OwnedEventId
The globally unique event identifier for the user who sent the event.
sender: OwnedUserId
The fully-qualified ID of the user who sent this event.
origin_server_ts: MilliSecondsSinceUnixEpoch
Timestamp in milliseconds on originating homeserver when this event was sent.
room_id: OwnedRoomId
The ID of the room associated with this event.
unsigned: RedactedUnsigned
Additional key-value pairs not signed by the homeserver.
Trait Implementations
Source§impl<C> Clone for RedactedMessageLikeEvent<C>where
C: Clone + RedactedMessageLikeEventContent,
impl<C> Clone for RedactedMessageLikeEvent<C>where
C: Clone + RedactedMessageLikeEventContent,
Source§fn clone(&self) -> RedactedMessageLikeEvent<C>
fn clone(&self) -> RedactedMessageLikeEvent<C>
Returns a copy 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 moreSource§impl<C> Debug for RedactedMessageLikeEvent<C>where
C: Debug + RedactedMessageLikeEventContent,
impl<C> Debug for RedactedMessageLikeEvent<C>where
C: Debug + RedactedMessageLikeEventContent,
Source§impl<'de, C> Deserialize<'de> for RedactedMessageLikeEvent<C>where
C: RedactedMessageLikeEventContent + EventContentFromType,
impl<'de, C> Deserialize<'de> for RedactedMessageLikeEvent<C>where
C: RedactedMessageLikeEventContent + EventContentFromType,
Source§fn deserialize<D>(
deserializer: D,
) -> Result<RedactedMessageLikeEvent<C>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<RedactedMessageLikeEvent<C>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<C> Ord for RedactedMessageLikeEvent<C>where
C: RedactedMessageLikeEventContent,
impl<C> Ord for RedactedMessageLikeEvent<C>where
C: RedactedMessageLikeEventContent,
Source§fn cmp(&self, other: &RedactedMessageLikeEvent<C>) -> Ordering
fn cmp(&self, other: &RedactedMessageLikeEvent<C>) -> Ordering
Compares EventId
s and orders them lexicographically.
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more