Struct clacks_mtproto::mtproto::input_media::Photo
[−]
[src]
pub struct Photo { pub id: InputPhoto, pub caption: string, pub ttl_seconds: Option<int>, }
TL-derived from inputMediaPhoto
inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia;
Fields
id: InputPhoto
ttl_seconds: Option<int>
Trait Implementations
impl Debug for Photo
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Photo
[src]
fn clone(&self) -> Photo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more