pub struct EncryptedFile {
pub id: i64,
pub access_hash: i64,
pub size: i64,
pub dc_id: i32,
pub key_fingerprint: i32,
}Expand description
Generated from:
encryptedFile#a8008cd8 id:long access_hash:long size:long dc_id:int key_fingerprint:int = EncryptedFileFields§
§id: i64§access_hash: i64§size: i64§dc_id: i32§key_fingerprint: i32Trait Implementations§
Source§impl Clone for EncryptedFile
impl Clone for EncryptedFile
Source§fn clone(&self) -> EncryptedFile
fn clone(&self) -> EncryptedFile
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 EncryptedFile
impl Debug for EncryptedFile
Source§impl Deserializable for EncryptedFile
impl Deserializable for EncryptedFile
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<EncryptedFile> for EncryptedFile
impl From<EncryptedFile> for EncryptedFile
Source§fn from(x: EncryptedFile) -> Self
fn from(x: EncryptedFile) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EncryptedFile
impl Identifiable for EncryptedFile
Source§const CONSTRUCTOR_ID: u32 = 0xa8008cd8
const CONSTRUCTOR_ID: u32 = 0xa8008cd8
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EncryptedFile
impl PartialEq for EncryptedFile
Source§impl Serializable for EncryptedFile
impl Serializable for EncryptedFile
Source§impl TryFrom<EncryptedFile> for EncryptedFile
impl TryFrom<EncryptedFile> for EncryptedFile
Source§type Error = EncryptedFile
type Error = EncryptedFile
The type returned in the event of a conversion error.
impl StructuralPartialEq for EncryptedFile
Auto Trait Implementations§
impl Freeze for EncryptedFile
impl RefUnwindSafe for EncryptedFile
impl Send for EncryptedFile
impl Sync for EncryptedFile
impl Unpin for EncryptedFile
impl UnsafeUnpin for EncryptedFile
impl UnwindSafe for EncryptedFile
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