Struct clacks_mtproto::mtproto::rpc::messages::GetDocumentByHash
[−]
[src]
pub struct GetDocumentByHash { pub sha256: bytes, pub size: int, pub mime_type: string, }
TL-derived from messages.getDocumentByHash
messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document;
Fields
sha256: bytes
size: int
mime_type: string
Trait Implementations
impl Debug for GetDocumentByHash
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for GetDocumentByHash
[src]
fn clone(&self) -> GetDocumentByHash
[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
impl BoxedSerialize for GetDocumentByHash
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)