pub type ToDeviceSecretRequestEvent = ToDeviceEvent<ToDeviceSecretRequestEventContent>;
Expand description
An m.secret.request
event.
Aliased Type§
struct ToDeviceSecretRequestEvent {
pub content: ToDeviceSecretRequestEventContent,
pub sender: OwnedUserId,
}
Fields§
§content: ToDeviceSecretRequestEventContent
Data specific to the event type.
sender: OwnedUserId
The fully-qualified ID of the user who sent this event.
Trait Implementations
Source§impl<C: Clone + ToDeviceEventContent> Clone for ToDeviceEvent<C>
impl<C: Clone + ToDeviceEventContent> Clone for ToDeviceEvent<C>
Source§fn clone(&self) -> ToDeviceEvent<C>
fn clone(&self) -> ToDeviceEvent<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 + ToDeviceEventContent> Debug for ToDeviceEvent<C>
impl<C: Debug + ToDeviceEventContent> Debug for ToDeviceEvent<C>
Source§impl<'de, C> Deserialize<'de> for ToDeviceEvent<C>where
C: EventContentFromType + ToDeviceEventContent,
impl<'de, C> Deserialize<'de> for ToDeviceEvent<C>where
C: EventContentFromType + ToDeviceEventContent,
Source§fn 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