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