[][src]Struct ruma_events::sticker::StickerEventContent

pub struct StickerEventContent {
    pub body: String,
    pub info: ImageInfo,
    pub url: String,
}

The payload for StickerEvent.

Fields

body: String

A textual representation or associated description of the sticker image. This could be the alt text of the original image, or a message to accompany and further describe the sticker.

info: ImageInfo

Metadata about the image referred to in url including a thumbnail representation.

url: String

The URL to the sticker image. This must be a valid mxc:// URI.

Trait Implementations

impl Clone for StickerEventContent[src]

impl Debug for StickerEventContent[src]

impl FromRaw for StickerEventContent[src]

type Raw = StickerEventContent

The raw type.

impl PartialEq<StickerEventContent> for StickerEventContent[src]

impl Serialize for StickerEventContent[src]

impl StructuralPartialEq for StickerEventContent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,