[][src]Struct keybase_protocol::protocol::chat1::api::MsgContent

pub struct MsgContent {
    pub typeName: Option<String>,
    pub text: Option<MessageText>,
    pub attachment: Option<MessageAttachment>,
    pub edit: Option<MessageEdit>,
    pub reaction: Option<MessageReaction>,
    pub delete: Option<MessageDelete>,
    pub metadata: Option<MessageConversationMetadata>,
    pub headline: Option<MessageHeadline>,
    pub attachmentUploaded: Option<MessageAttachmentUploaded>,
    pub system: Option<MessageSystem>,
    pub sendPayment: Option<MessageSendPayment>,
    pub requestPayment: Option<MessageRequestPayment>,
    pub unfurl: Option<MessageUnfurl>,
    pub flip: Option<MsgFlipContent>,
}

Fields

typeName: Option<String>text: Option<MessageText>attachment: Option<MessageAttachment>edit: Option<MessageEdit>reaction: Option<MessageReaction>delete: Option<MessageDelete>metadata: Option<MessageConversationMetadata>headline: Option<MessageHeadline>attachmentUploaded: Option<MessageAttachmentUploaded>system: Option<MessageSystem>sendPayment: Option<MessageSendPayment>requestPayment: Option<MessageRequestPayment>unfurl: Option<MessageUnfurl>flip: Option<MsgFlipContent>

Trait Implementations

impl Debug for MsgContent[src]

impl Serialize for MsgContent[src]

impl<'de> Deserialize<'de> for MsgContent[src]

Auto Trait Implementations

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]