Struct ruma::events::RedactedUnsigned
source · pub struct RedactedUnsigned {
pub redacted_because: UnsignedRoomRedactionEvent,
}
Available on crate feature
events
only.Expand description
Extra information about a redacted event that is not incorporated into the event’s hash.
Fields§
§redacted_because: UnsignedRoomRedactionEvent
The event that redacted this event, if any.
Implementations§
source§impl RedactedUnsigned
impl RedactedUnsigned
sourcepub fn new(redacted_because: UnsignedRoomRedactionEvent) -> RedactedUnsigned
pub fn new(redacted_because: UnsignedRoomRedactionEvent) -> RedactedUnsigned
Create a new RedactedUnsigned
with the given redaction event.
Trait Implementations§
source§impl Clone for RedactedUnsigned
impl Clone for RedactedUnsigned
source§fn clone(&self) -> RedactedUnsigned
fn clone(&self) -> RedactedUnsigned
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 Debug for RedactedUnsigned
impl Debug for RedactedUnsigned
source§impl<'de> Deserialize<'de> for RedactedUnsigned
impl<'de> Deserialize<'de> for RedactedUnsigned
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RedactedUnsigned, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RedactedUnsigned, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more