pub struct GetDocumentByHash {
pub sha256: Vec<u8>,
pub size: i64,
pub mime_type: String,
}Expand description
Generated from:
messages.getDocumentByHash#b1f2061f sha256:bytes size:long mime_type:string = DocumentFields§
§sha256: Vec<u8>§size: i64§mime_type: StringTrait Implementations§
Source§impl Clone for GetDocumentByHash
impl Clone for GetDocumentByHash
Source§fn clone(&self) -> GetDocumentByHash
fn clone(&self) -> GetDocumentByHash
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetDocumentByHash
impl Debug for GetDocumentByHash
Source§impl Identifiable for GetDocumentByHash
impl Identifiable for GetDocumentByHash
Source§const CONSTRUCTOR_ID: u32 = 0xb1f2061f
const CONSTRUCTOR_ID: u32 = 0xb1f2061f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for GetDocumentByHash
impl PartialEq for GetDocumentByHash
Source§impl RemoteCall for GetDocumentByHash
impl RemoteCall for GetDocumentByHash
Source§impl Serializable for GetDocumentByHash
impl Serializable for GetDocumentByHash
impl StructuralPartialEq for GetDocumentByHash
Auto Trait Implementations§
impl Freeze for GetDocumentByHash
impl RefUnwindSafe for GetDocumentByHash
impl Send for GetDocumentByHash
impl Sync for GetDocumentByHash
impl Unpin for GetDocumentByHash
impl UnsafeUnpin for GetDocumentByHash
impl UnwindSafe for GetDocumentByHash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more