pub struct InputEncryptedFile {
pub id: i64,
pub access_hash: i64,
}Expand description
Generated from:
inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFileFields§
§id: i64§access_hash: i64Trait Implementations§
Source§impl Clone for InputEncryptedFile
impl Clone for InputEncryptedFile
Source§fn clone(&self) -> InputEncryptedFile
fn clone(&self) -> InputEncryptedFile
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 InputEncryptedFile
impl Debug for InputEncryptedFile
Source§impl Deserializable for InputEncryptedFile
impl Deserializable for InputEncryptedFile
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<InputEncryptedFile> for InputEncryptedFile
impl From<InputEncryptedFile> for InputEncryptedFile
Source§fn from(x: InputEncryptedFile) -> Self
fn from(x: InputEncryptedFile) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputEncryptedFile
impl Identifiable for InputEncryptedFile
Source§const CONSTRUCTOR_ID: u32 = 0x5a17b5e5
const CONSTRUCTOR_ID: u32 = 0x5a17b5e5
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputEncryptedFile
impl PartialEq for InputEncryptedFile
Source§impl Serializable for InputEncryptedFile
impl Serializable for InputEncryptedFile
Source§impl TryFrom<InputEncryptedFile> for InputEncryptedFile
impl TryFrom<InputEncryptedFile> for InputEncryptedFile
Source§type Error = InputEncryptedFile
type Error = InputEncryptedFile
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputEncryptedFile
Auto Trait Implementations§
impl Freeze for InputEncryptedFile
impl RefUnwindSafe for InputEncryptedFile
impl Send for InputEncryptedFile
impl Sync for InputEncryptedFile
impl Unpin for InputEncryptedFile
impl UnsafeUnpin for InputEncryptedFile
impl UnwindSafe for InputEncryptedFile
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