Struct clacks_mtproto::mtproto::message_media::Document [] [src]

pub struct Document {
    pub document: Option<Document>,
    pub caption: Option<string>,
    pub ttl_seconds: Option<int>,
}

TL-derived from messageMediaDocument

messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;

Fields

Trait Implementations

impl Debug for Document
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Document
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BareSerialize for Document
[src]

impl BareDeserialize for Document
[src]

impl IntoBoxed for Document
[src]

Auto Trait Implementations

impl Send for Document

impl Sync for Document