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